Skip to content

Commit

Permalink
Fix/20 make netlify stop worrying about elm pages src (#41)
Browse files Browse the repository at this point in the history
* Commit empty elm pages dir so compiler is happy without it

* Add test back into CI pipeline
  • Loading branch information
katjam authored Feb 14, 2022
1 parent f0330f3 commit e5866ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .elm-pages/.gitkeep
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This is so we can ignore the contents of `.elm-pages` in git but keep the dir.
We don't want to version control the generated files, but the elm compiler
fails if it is missing a dir that is listed in `elm.json` `src`.
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build]
publish = "dist/"
command = "export ELM_HOME=\"$NETLIFY_BUILD_BASE/cache/elm\" && npm install && npm run build"
command = "export ELM_HOME=\"$NETLIFY_BUILD_BASE/cache/elm\" && npm install && npm test && npm run build"

0 comments on commit e5866ea

Please sign in to comment.