Build task for creating os packages creates target

The target directory is created by the archives task, but it is not
created by the ospackages task, so if you do not have a target
directory and try to skip archives, the build will fail.
This commit is contained in:
Court Ewing 2016-06-16 10:18:40 -04:00
parent 6b98215833
commit 3d546336b1

View file

@ -12,6 +12,8 @@ export default (grunt) => {
const fpm = args => exec('fpm', args);
grunt.registerTask('_build:osPackages', function () {
grunt.file.mkdir('target');
config.get('platforms')
.filter(({ name }) => /linux-x(86|64)$/.test(name))
.map(({ name, buildDir }) => {