File tree Expand file tree Collapse file tree 4 files changed +33
-32
lines changed
Expand file tree Collapse file tree 4 files changed +33
-32
lines changed Original file line number Diff line number Diff line change 1- /js /
2- /externs /
3- /node_modules /
41/bower_components /
2+ /node_modules /
3+ /output /
4+ /tmp /
5+ /.psci
Original file line number Diff line number Diff line change 11module . exports = function ( grunt ) {
22
3- "use strict" ;
3+ "use strict" ;
44
5- grunt . initConfig ( {
5+ grunt . initConfig ( {
6+
7+ libFiles : [
8+ "src/**/*.purs" ,
9+ "bower_components/purescript-*/src/**/*.purs" ,
10+ ] ,
611
7- clean : [ "externs" , "js" ] ,
8-
9- "purescript-make" : {
10- options : {
11- tco : true ,
12- magicDo : true
13- } ,
14- lib : {
15- src :
16- [ "src/**/*.purs"
17- , "bower_components/purescript-*/src/**/*.purs"
18- ]
19- }
20- }
21-
22- } ) ;
12+ clean : [ "output" ] ,
13+
14+ pscMake : [ "<%=libFiles%>" ] ,
15+ dotPsci : [ "<%=libFiles%>" ]
2316
24- grunt . loadNpmTasks ( "grunt-purescript" ) ;
25- grunt . loadNpmTasks ( "grunt-contrib-clean" ) ;
17+ } ) ;
2618
27- grunt . registerTask ( "default" , [ "purescript-make:lib" ] ) ;
28- } ;
19+ grunt . loadNpmTasks ( "grunt-contrib-clean" ) ;
20+ grunt . loadNpmTasks ( "grunt-purescript" ) ;
21+
22+ grunt . registerTask ( "make" , [ "pscMake" , "dotPsci" ] ) ;
23+ grunt . registerTask ( "default" , [ "make" ] ) ;
24+ } ;
Original file line number Diff line number Diff line change 11{
22 "name" : " purescript-foldable-traversable" ,
3- "version" : " 0.0.0" ,
43 "homepage" : " https://github.com/purescript/purescript-foldable-traversable" ,
54 "description" : " Classes for foldable and traversable data structures" ,
65 "keywords" : [
98 "license" : " MIT" ,
109 "ignore" : [
1110 " **/.*" ,
12- " node_modules" ,
1311 " bower_components" ,
1412 " examples" ,
15- " externs" ,
16- " js"
13+ " node_modules" ,
14+ " output" ,
15+ " tests" ,
16+ " tmp" ,
17+ " bower.json" ,
18+ " Gruntfile.js" ,
19+ " package.json"
1720 ],
1821 "dependencies" : {
1922 "purescript-arrays" : " *" ,
2023 "purescript-either" : " *" ,
2124 "purescript-maybe" : " *" ,
2225 "purescript-tuples" : " *" ,
2326 "purescript-control" : " *" ,
24- "purescript-monoid" : " *"
27+ "purescript-monoid" : " *" ,
28+ "purescript-tuples" : " *"
2529 }
2630}
Original file line number Diff line number Diff line change 11{
22 "name" : " purescript-foldable-traversable" ,
3- "version " : " 0.0.0 " ,
3+ "private " : true ,
44 "devDependencies" : {
55 "grunt" : " ~0.4.4" ,
6- "grunt-purescript" : " ~0.4 .0" ,
6+ "grunt-purescript" : " ~0.5 .0" ,
77 "grunt-contrib-clean" : " ~0.5.0"
88 }
99}
You can’t perform that action at this time.
0 commit comments