https://github.com/galaxyproject/galaxy
Tip revision: c1397908cd1fc81b294849008b1e5ec1b1381660 authored by Nate Coraor on 15 December 2016, 19:09:48 UTC
Update version to 16.10
Update version to 16.10
Tip revision: c139790
GruntFile.js
module.exports = function(grunt) {
"use strict";
var GALAXY_PATHS = {
dist : '../static/scripts',
maps : '../static/maps',
// this symlink allows us to serve uncompressed scripts in DEV_PATH for use with sourcemaps
srcSymlink : '../static/src',
},
TOOLSHED_PATHS = {
dist : '../static/toolshed/scripts',
maps : '../static/toolshed/maps',
srcSymlink : '../static/toolshed/src',
};
grunt.config.set( 'app', 'galaxy' );
grunt.config.set( 'paths', GALAXY_PATHS );
if( grunt.option( 'app' ) === 'toolshed' ){
grunt.config.set( 'app', grunt.option( 'app' ) );
grunt.config.set( 'paths', TOOLSHED_PATHS );
}
grunt.loadNpmTasks('grunt-check-modules');
// see the sub directory grunt-tasks/ for individual task definitions
grunt.loadTasks( 'grunt-tasks' );
// note: 'handlebars' *not* 'templates' since handlebars doesn't call uglify
grunt.registerTask( 'default', [ 'check-modules', 'uglify', 'webpack' ] );
};