write down rebuild instructions
parent
ad6105c381
commit
a67cb8a477
7
Makefile
7
Makefile
|
@ -6,3 +6,10 @@ dist: dist/index.html $(shell find static -type f)
|
|||
dist/index.html: $(shell find src -type f -name '*.elm') elm.json
|
||||
@mkdir -p dist
|
||||
elm make src/Main.elm --optimize --output $@
|
||||
|
||||
nix/elm-srcs.nix: elm.json
|
||||
elm2nix convert > $@
|
||||
|
||||
nix/registry.dat: elm.json
|
||||
elm2nix snapshot
|
||||
mv registry.dat $@
|
||||
|
|
Reference in New Issue