File tree 4 files changed +30
-31
lines changed
4 files changed +30
-31
lines changed Original file line number Diff line number Diff line change 1
- /js /
2
- /externs /
3
- /node_modules /
4
1
/bower_components /
2
+ /node_modules /
3
+ /output /
4
+ /tmp /
5
+ /.psci
Original file line number Diff line number Diff line change 1
1
module . exports = function ( grunt ) {
2
2
3
- "use strict" ;
3
+ "use strict" ;
4
4
5
- grunt . initConfig ( {
5
+ grunt . initConfig ( {
6
+
7
+ libFiles : [
8
+ "src/**/*.purs" ,
9
+ "bower_components/purescript-*/src/**/*.purs" ,
10
+ ] ,
6
11
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%>" ]
23
16
24
- grunt . loadNpmTasks ( "grunt-purescript" ) ;
25
- grunt . loadNpmTasks ( "grunt-contrib-clean" ) ;
17
+ } ) ;
26
18
27
- grunt . registerTask ( "default" , [ "purescript-make:lib" ] ) ;
19
+ grunt . loadNpmTasks ( "grunt-contrib-clean" ) ;
20
+ grunt . loadNpmTasks ( "grunt-purescript" ) ;
21
+
22
+ grunt . registerTask ( "make" , [ "pscMake" , "dotPsci" ] ) ;
23
+ grunt . registerTask ( "default" , [ "make" ] ) ;
28
24
} ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " purescript-strings" ,
3
- "version" : " 0.0.0" ,
4
3
"homepage" : " https://github.com/purescript/purescript-strings" ,
5
4
"description" : " String utility functions and regular expressions" ,
6
5
"keywords" : [
9
8
"license" : " MIT" ,
10
9
"ignore" : [
11
10
" **/.*" ,
12
- " node_modules" ,
13
11
" bower_components" ,
14
- " examples" ,
15
- " externs" ,
16
- " js"
12
+ " node_modules" ,
13
+ " output" ,
14
+ " tests" ,
15
+ " tmp" ,
16
+ " bower.json" ,
17
+ " Gruntfile.js" ,
18
+ " package.json"
17
19
]
18
20
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " purescript-strings" ,
3
- "version " : " 0.0.0 " ,
3
+ "private " : true ,
4
4
"devDependencies" : {
5
5
"grunt" : " ~0.4.4" ,
6
- "grunt-purescript" : " ~0.4 .0" ,
6
+ "grunt-purescript" : " ~0.5 .0" ,
7
7
"grunt-contrib-clean" : " ~0.5.0"
8
8
}
9
9
}
You can’t perform that action at this time.
0 commit comments