mirror of
https://github.com/elastic/kibana.git
synced 2025-04-21 08:19:33 -04:00
---------
**Commit 1:**
[build] Include babelcache so it can be chowned to kibana user
* Original sha: 83681d980d
* Authored by Jonathan Budzenski <jbudz@users.noreply.github.com> on 2016-06-14T21:48:41Z
34 lines
918 B
JavaScript
34 lines
918 B
JavaScript
module.exports = function (grunt) {
|
|
let { flatten } = require('lodash');
|
|
|
|
grunt.registerTask('build', 'Build packages', function () {
|
|
grunt.task.run(flatten([
|
|
'_build:getProps',
|
|
'clean:build',
|
|
'clean:target',
|
|
'_build:downloadNodeBuilds:start',
|
|
'copy:devSource',
|
|
'babel:build',
|
|
'_build:babelOptions',
|
|
'_build:installedPlugins',
|
|
'_build:packageJson',
|
|
'_build:readme',
|
|
'_build:babelCache',
|
|
'_build:installNpmDeps',
|
|
'_build:removePkgJsonDeps',
|
|
'clean:testsFromModules',
|
|
'clean:deepModuleBins',
|
|
'clean:deepModules',
|
|
'run:optimizeBuild',
|
|
'stop:optimizeBuild',
|
|
'_build:downloadNodeBuilds:finish',
|
|
'_build:versionedLinks',
|
|
'_build:archives',
|
|
grunt.option('os-packages') ? [
|
|
'_build:pleaseRun',
|
|
'_build:osPackages',
|
|
] : [],
|
|
'_build:shasums'
|
|
]));
|
|
});
|
|
};
|