Skip to content

Commit

Permalink
Merge pull request #42 from upm-packages/tweak_README
Browse files Browse the repository at this point in the history
Update README.md in upm-init.sh
  • Loading branch information
monry authored Feb 1, 2020
2 parents 3e54963 + eab8ec9 commit 7e30965
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions scripts/upm-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,35 @@ cat > Assets/README.md << __README__
## Installation
### Use Command Line
\`\`\`bash
upm add package ${package_domain}.${package_name}
\`\`\`
Note: \`upm\` command is provided by [this repository](https://github.com/upm-packages/upm-cli).
### Edit \`Packages/manifest.json\`
\`\`\`jsonc
{
"dependencies": {
// (snip)
"${package_domain}.${package_name}": "[latest version]",
// (snip)
},
"scopedRegistries": [
{
"name": "Unofficial Unity Package Manager Registry",
"url": "https://upm-packages.dev",
"scopes": [
"${package_domain}"
]
}
]
}
\`\`\`
## Usages
*
Expand Down

0 comments on commit 7e30965

Please sign in to comment.