diff options
author | Steve Purcell <steve@sanityinc.com> | 2019-01-15 23:27:30 +1300 |
---|---|---|
committer | Jakub Hampl <kopomir@gmail.com> | 2019-01-15 10:27:30 +0000 |
commit | 00600a345eb595e8dc18cf499fb6635a932a8cb7 (patch) | |
tree | dd50bb6442bf3add4509ad26e7655ab7e2e3623d /package.json | |
parent | a92346489556d89dbff959e21eb3d6804e69b425 (diff) |
Adds travis testing
* Use "elm make" to test this
* Add simple travis config
* Update example in README from Example01.elm, so it is compilable
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index 4083dac..69085e7 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "scripts": { "build": "rollup -c", "dev": "rollup -c -w", - "test": "node test/test.js", + "test": "elm make --output=/dev/null src/**/*.elm && cd examples && elm make --output=/dev/null ./*.elm", "pretest": "npm run build", "generate": "curl https://raw.githubusercontent.com/mapbox/mapbox-gl-js/master/src/style-spec/reference/v8.json | node generate-elm.js > src/Mapbox/Layer.elm" }, |