diff --git a/Makefile b/Makefile index 310a405..053c132 100644 --- a/Makefile +++ b/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 $@