Author: jruchaud Date: 2015-05-26 08:05:14 +0000 (Tue, 26 May 2015) New Revision: 1457 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1457 Log: Force version Modified: wit/gruntfile.js Modified: wit/gruntfile.js =================================================================== --- wit/gruntfile.js 2015-05-26 08:02:25 UTC (rev 1456) +++ wit/gruntfile.js 2015-05-26 08:05:14 UTC (rev 1457) @@ -1,6 +1,8 @@ +"use strict"; + module.exports = function(grunt) { - grunt.initOptions = function(options) { + grunt.initOptions = function() { }; grunt.initConfig({ @@ -8,20 +10,21 @@ options: { // platforms: ['win','osx',"linux"], platforms: ["linux64"], - buildDir: './webkitbuilds', // Where the build version of my node-webkit app is saved + version: "0.12.2", + buildDir: "./webkitbuilds" // Where the build version of my node-webkit app is saved }, src: [ // Your node-webkit app - './*.html', - './node_modules/**', + "./*.html", + "./node_modules/**", "./package.json", "./font/**", "./img/**", "./css/**", "./js/**" ] - }, - }) + } + }); - grunt.loadNpmTasks('grunt-node-webkit-builder'); - grunt.registerTask('default', ['nodewebkit']); + grunt.loadNpmTasks("grunt-node-webkit-builder"); + grunt.registerTask("default", ["nodewebkit"]); };
participants (1)
-
jruchaud@users.nuiton.org