Skip to content

Instantly share code, notes, and snippets.

@cgag
Created July 14, 2014 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cgag/8e3e3be35901b420cdad to your computer and use it in GitHub Desktop.
Save cgag/8e3e3be35901b420cdad to your computer and use it in GitHub Desktop.
purescript psc gruntfile
module.exports = function(grunt) {
"use strict";
grunt.initConfig({
psc: {
options: {
main: "Mymodule.Main",
modules: ["Mymodule.Main"]
},
all: {
src: [ "src/**/*.purs"
, "bower_components/**/src/**/*.purs"],
dest: "dist/out.js"
}
}
watch: {
files: [ "src/**/*.purs"
, "bower_components/**/src/**/*.purs"],
tasks: ["psc:all"]
}
});
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks("grunt-purescript");
grunt.registerTask("default", ["psc:all"]);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment