From 2fd18add50730b037f9128776146354d6f467896 Mon Sep 17 00:00:00 2001 From: Court Ewing Date: Thu, 16 Jun 2016 10:18:40 -0400 Subject: [PATCH] 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. Backport 3d546336b15d5cb370ff79ca97f5cc1cb61d9867 --- tasks/build/osPackages.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/build/osPackages.js b/tasks/build/osPackages.js index 3a04c3f7ce8df..c19d40d96bf9c 100644 --- a/tasks/build/osPackages.js +++ b/tasks/build/osPackages.js @@ -10,6 +10,8 @@ export default (grunt) => { const fpm = args => exec('fpm', args); grunt.registerTask('_build:osPackages', function () { + grunt.file.mkdir('target'); + grunt.config.get('platforms') .filter(({ name }) => /linux-x(86|64)$/.test(name)) .map(({ name, buildDir }) => {