deduplicate name/version
This commit is contained in:
parent
8cf96c4282
commit
d2aae92692
4 changed files with 9 additions and 11 deletions
|
|
@ -28,15 +28,10 @@ npm run check
|
|||
|
||||
## Renaming
|
||||
|
||||
To rename the CLI from `name-placeholder` to your desired name:
|
||||
|
||||
```bash
|
||||
sed -i 's/name-placeholder/your-new-name/g' package.json src/index.ts flake.nix
|
||||
```
|
||||
|
||||
Then rebuild:
|
||||
To rename the CLI, edit the `name` field in `package.json`. Both the Nix package and the CLI will update automatically.
|
||||
|
||||
```bash
|
||||
# Edit package.json, then rebuild:
|
||||
nix build .
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue