Skip to content

Commit

Permalink
Build task for creating os packages creates target
Browse files Browse the repository at this point in the history
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 3d54633
  • Loading branch information
epixa committed Jun 16, 2016
1 parent 6ccfc95 commit 2fd18ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/build/osPackages.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down

0 comments on commit 2fd18ad

Please sign in to comment.