put stuff in a Makefile
parent
eb3bbcd101
commit
9ef23876a3
|
@ -0,0 +1,5 @@
|
|||
all: dist/index.html
|
||||
|
||||
dist/index.html: $(shell find src -type f -name '*.elm') elm.json
|
||||
@mkdir -p dist
|
||||
elm make src/Main.elm --output $@
|
|
@ -1,5 +1,5 @@
|
|||
src/** {
|
||||
prep: mkdir -p dist && elm make src/Main.elm --debug --output dist/index.html
|
||||
prep: make all
|
||||
}
|
||||
|
||||
dist/** {
|
||||
|
|
Reference in New Issue