grunt-download-wcjs
Version:
Grunt task to download pre-built WebChimera.js for Electron & NW.JS.
25 lines (22 loc) • 760 B
JavaScript
module.exports = function(grunt) {
'use strict';
// Project configuration.
grunt.initConfig({
wcjs: {
options: {
version: 'latest', // Webchimera version
dir: 'WebChimera', // Output dir
force: true, // Overwrite
runtime: {
type: 'electron', // nw.js / electron
version: 'latest', // latest / runtime version
arch: 'x64', // ia32 / x64
platform: 'win' // win / osx / linux
}
}
}
});
// Actually load this plugin's task(s).
grunt.loadTasks('tasks');
grunt.registerTask('default', ['wcjs']);
};