write down rebuild instructions

main
Brian Hicks 2020-09-10 23:15:18 -05:00
parent ad6105c381
commit a67cb8a477
1 changed files with 7 additions and 0 deletions

View File

@ -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 $@