Skip to content
This repository was archived by the owner on Jun 5, 2022. It is now read-only.

Commit 6cac9da

Browse files
committed
Add test to build
Still needs to actually run the test automatically
1 parent 7560acb commit 6cac9da

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Gruntfile.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,24 @@ module.exports = function(grunt) {
1717
, "bower_components/purescript-*/src/**/*.purs"
1818
]
1919
}
20+
},
21+
22+
purescript: {
23+
options: {
24+
tco: true,
25+
magicDo: true
26+
},
27+
"test-simple": {
28+
options: {
29+
main: true
30+
},
31+
dest: "js/_examples/simple.js",
32+
src:
33+
[ "examples/Simple.purs.hs"
34+
, "src/**/*.purs"
35+
, "bower_components/purescript-*/src/**/*.purs"
36+
]
37+
}
2038
}
2139

2240
});

0 commit comments

Comments
 (0)