Skip to content

Commit

Permalink
Remove test-related stuff (moved to core-tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
garyb committed Apr 25, 2014
1 parent 75b22c0 commit ed4cd13
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 99 deletions.
25 changes: 3 additions & 22 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,17 @@ module.exports = function(grunt) {

clean: {
dedupe: ["bower_components/purescript-maybe"],
tests: ["tmp"],
lib: ["js", "externs"]
},

pscMake: ["<%=libFiles%>"],
dotPsci: ["<%=libFiles%>"],

psc: {
tests: {
options: {
module: ["Main"],
main: true
},
src: ["tests/Tests.purs", "<%=libFiles%>"],
dest: "tmp/tests.js"
}
},

execute: {
tests: {
src: "tmp/tests.js"
}
}
dotPsci: ["<%=libFiles%>"]

});

grunt.loadNpmTasks("grunt-contrib-clean");
grunt.loadNpmTasks("grunt-purescript");
grunt.loadNpmTasks("grunt-execute");

grunt.registerTask("test", ["clean:dedupe", "clean:tests", "psc:tests", "execute:tests"]);
grunt.registerTask("make", ["clean:dedupe", "pscMake", "dotPsci"]);
grunt.registerTask("default", ["test", "make"]);
grunt.registerTask("default", ["make"]);
};
5 changes: 1 addition & 4 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@
"bower.json",
"Gruntfile.js",
"package.json"
],
"devDependencies": {
"purescript-quickcheck": "*"
}
]
}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"name": "purescript-maybe",
"version": "0.1.0",
"private": true,
"devDependencies": {
"grunt": "~0.4.4",
"grunt-purescript": "~0.5.0",
"grunt-contrib-clean": "~0.5.0",
"grunt-execute": "~0.1.5"
"grunt-contrib-clean": "~0.5.0"
}
}
70 changes: 0 additions & 70 deletions tests/Tests.purs

This file was deleted.

0 comments on commit ed4cd13

Please sign in to comment.