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.
  • Loading branch information
epixa committed Jun 16, 2016
1 parent 6b98215 commit 3d54633
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/build/os_packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down

0 comments on commit 3d54633

Please sign in to comment.