Windows build: updates to build stuff to create better windows packages

This commit is contained in:
Torkel Odegaard
2015-04-20 08:10:23 +02:00
parent bb7ee1c5a3
commit c9a28ddd38
5 changed files with 21 additions and 28 deletions

View File

@ -2,13 +2,15 @@
'use strict';
module.exports = function (grunt) {
var os = require('os');
var config = {
pkg: grunt.file.readJSON('package.json'),
baseDir: '.',
srcDir: 'public',
destDir: 'dist',
tempDir: 'tmp',
arch: grunt.option('arch') || 'x86_64',
arch: os.arch(),
platform: process.platform.replace('win32', 'windows'),
};
config.pkg.version = grunt.option('pkgVer') || config.pkg.version;