Skip to content

Commit e673631

Browse files
committed
Generates .gitignore
1 parent 945ea5f commit e673631

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

elm.mk

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ install: src bin build \
2121
elm-package.json \
2222
src/Main.elm src/interop.js styles/main.scss index.html \
2323
bin/modd modd.conf \
24-
bin/devd bin/wt
24+
bin/devd bin/wt \
25+
.gitignore
2526

2627
server:
2728
bin/devd -w build -l build/
@@ -65,6 +66,9 @@ modd.conf:
6566
elm-package.json:
6667
echo "$$elm_package_json" > $@
6768

69+
.gitignore:
70+
echo "$$gitignore" > $@
71+
6872
build/main.css: styles/*.scss
6973
bin/wt compile -b build/ styles/main.scss
7074

@@ -187,3 +191,11 @@ define index_html
187191
</html>
188192
endef
189193
export index_html
194+
195+
define gitignore
196+
elm-stuff
197+
elm.js
198+
/build/*
199+
/bin/*
200+
endef
201+
export gitignore

0 commit comments

Comments
 (0)