Created
July 14, 2014 20:42
-
-
Save cgag/8e3e3be35901b420cdad to your computer and use it in GitHub Desktop.
purescript psc gruntfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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