Nix: move to devshell
This commit is contained in:
parent
f91ff03006
commit
8c9f075a4e
5 changed files with 153 additions and 26 deletions
23
devshell.toml
Normal file
23
devshell.toml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[devshell]
|
||||
name = "hugo website"
|
||||
|
||||
[[commands]]
|
||||
package = "hugo"
|
||||
|
||||
[[commands]]
|
||||
package = "go"
|
||||
|
||||
[[commands]]
|
||||
command = "hugo server"
|
||||
name = "server"
|
||||
help = "Server"
|
||||
|
||||
[[commands]]
|
||||
command = "hugo server --buildDrafts"
|
||||
name = "drafts"
|
||||
help = "Server including drafts"
|
||||
|
||||
[[commands]]
|
||||
command = "hugo"
|
||||
name = "build"
|
||||
help = "Build site – usually not necessary"
|
||||
Loading…
Add table
Add a link
Reference in a new issue