Skip to content

Commit 002eaae

Browse files
Upgrade to elm 0.19
- Greatly reduces size of state machine after compilation. - Tests this time around found an inconsistency in how I was initializing the status bar. - Removed extra code I found in resetStatus. - Use new 'worker' program and call 'init()'. - Found an unused import. - Required unique name for port. - Can't use shortcut '!' operator anymore. - Require flags (empty in my case). - Use new elm.json instead of elm-package.json. - Use new elm commands in Makefile.
1 parent 64ba8b6 commit 002eaae

12 files changed

+2766
-7568
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
default: elm typescript
22

33
elm:
4-
elm-package install
5-
elm-make lib/state-machine.elm --output=dist/elm/state-machine.js
4+
/usr/local/bin/elm make lib/state-machine.elm --output=dist/elm/state-machine.js --optimize
65

76
typescript:
87
npm install

0 commit comments

Comments
 (0)