mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Progress on deb and rpm packaging, renamed config files, added file logging, #1476
This commit is contained in:
16
Gruntfile.js
16
Gruntfile.js
@@ -11,22 +11,6 @@ module.exports = function (grunt) {
|
||||
docsDir: 'docs/'
|
||||
};
|
||||
|
||||
config.mode = grunt.option('mode') || 'backend';
|
||||
config.modeOptions = {
|
||||
zipSuffix: '',
|
||||
requirejs: {
|
||||
paths: { config: '../config.sample' },
|
||||
excludeConfig: true,
|
||||
}
|
||||
};
|
||||
|
||||
if (config.mode === 'backend') {
|
||||
grunt.log.writeln('Setting backend build mode');
|
||||
config.modeOptions.zipSuffix = '-backend';
|
||||
config.modeOptions.requirejs.paths = {};
|
||||
config.modeOptions.requirejs.excludeConfig = false;
|
||||
}
|
||||
|
||||
// load plugins
|
||||
require('load-grunt-tasks')(grunt);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user