Skip to content

Commit

Permalink
Merge pull request #25 from tapglue/console
Browse files Browse the repository at this point in the history
Console
  • Loading branch information
xla authored Mar 27, 2017
2 parents 798bb68 + cf5a42d commit 70985d2
Show file tree
Hide file tree
Showing 73 changed files with 61,173 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ _testmain.go
*.exe
*.test
*.prof

elm-stuff
4 changes: 3 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
machine:
environment:
GOOROT: /home/ubuntu/.gimme/versions/go1.7.linux.amd64
GOOROT: /home/ubuntu/.gimme/versions/go1.8.linux.amd64
node:
version: 7.7.4
services:
- docker
- redis
Expand Down
1 change: 1 addition & 0 deletions cmd/console/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
scripts/console.js
22 changes: 22 additions & 0 deletions cmd/console/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
help:
@echo "commands:"
@echo " make compile Compiles the Elm code into JS (requires elm-make)"
@echo " make compile-watch Compiles continuously on file changes (requires elm-live)"
@echo " make static Bundle static assets into Go binary (requires esc)"
@echo " make test Run frontend tests (requires elm-test)"
@echo " make test-watch Runs frontend tests continuously on file changes (requires elm-test"

compile:
elm-make src/Main.elm --output=scripts/console.js

compile-watch:
elm-live src/Main.elm --output=scripts/console.js

static:
esc -pkg main -ignore 'elm-*|.git*|.go$|src|tests' -o static.go .

test:
elm-test

test-watch:
elm-test --watch
Loading

0 comments on commit 70985d2

Please sign in to comment.