0.0.1 • Published 8 years ago

grunt-bucklescript v0.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

grunt-bucklescript

JavaScripts your bucklescript

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-bucklescript

Then add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-bucklescript');

Documentation

You'll need to install grunt-bucklescript first:

npm install grunt-bucklescript

Then modify your grunt.js file by adding the following line:

grunt.loadNpmTasks('grunt-bucklescript');

Then add some configuration for the plugin like so:

grunt.initConfig({
    ...
    bucklescript: {
      app: {
        src: ['path/to/bucklescript/files/*.ocaml'],
        dest: 'where/you/want/your/js/files',
        options: {
            
        }
      }
    },
    ...
});

Then just run grunt bucklescript and enjoy!