Add sd
command for renaming project
This commit is contained in:
parent
6c8b0f92b8
commit
d730ca840d
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ All but the final step need to be done only once.
|
||||||
Then, before using it for real,
|
Then, before using it for real,
|
||||||
|
|
||||||
- Rename all occurrences of `haskell-template` to `myproject`, as well as rename the cabal file to `myproject.cabal`.
|
- Rename all occurrences of `haskell-template` to `myproject`, as well as rename the cabal file to `myproject.cabal`.
|
||||||
|
- To do this from commandline, run `nix run nixpkgs#sd -- haskell-template myproject * */*`
|
||||||
- Run `git add . && git commit -m rename` followed by `nix develop` (or `bin/run`) to verify that everything continues to work.
|
- Run `git add . && git commit -m rename` followed by `nix develop` (or `bin/run`) to verify that everything continues to work.
|
||||||
|
|
||||||
## Other templates
|
## Other templates
|
||||||
|
|
Loading…
Reference in a new issue