Skip to content

Commit

Permalink
Merge pull request #10 from jdegoes/ready/hotfix-ffi
Browse files Browse the repository at this point in the history
Hotfix
  • Loading branch information
paf31 committed Oct 14, 2014
2 parents 81b20ba + 7770b75 commit 976d330
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
16 changes: 14 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,25 @@ module.exports = function(grunt) {
src: "src/**/*.purs",
dest: "README.md"
}
},
jsvalidate: {
options:{
globals: {},
esprimaOptions: {},
verbose: false
},
targetName:{
files:{
src: ['output/Data.String/*.js']
}
}
}

});

grunt.loadNpmTasks('grunt-jsvalidate');
grunt.loadNpmTasks("grunt-contrib-clean");
grunt.loadNpmTasks("grunt-purescript");

grunt.registerTask("make", ["pscMake", "dotPsci", "docgen"]);
grunt.registerTask("make", ["pscMake", "dotPsci", "docgen", "jsvalidate"]);
grunt.registerTask("default", ["make"]);
};
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"private": true,
"dependencies": {
"grunt": "~0.4.4",
"grunt-purescript": "~0.5.1",
"grunt-contrib-clean": "~0.5.0"
"grunt": "~0.4.4",
"grunt-purescript": "~0.5.1",
"grunt-contrib-clean": "~0.5.0",
"grunt-jsvalidate": "~0.2.2"
}
}
2 changes: 1 addition & 1 deletion src/Data/String.purs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module Data.String
foreign import fromCharArray
"function fromCharArray(a) {\
\ return a.join(''); \
\" :: [Char] -> String
\}" :: [Char] -> String

foreign import indexOf
"function indexOf(x) {\
Expand Down

0 comments on commit 976d330

Please sign in to comment.