diff options
author | vantezzen <hello@vantezzen.io> | 2019-09-25 10:45:41 +0200 |
---|---|---|
committer | vantezzen <hello@vantezzen.io> | 2019-09-25 10:45:41 +0200 |
commit | 64ab9231042408a7eeb174e30e598e42d09c6c29 (patch) | |
tree | 6ddd0df2906df6fe515c87517d9b0d3931567bf1 /gulpfile.babel.js | |
parent | 5.3.4-beta.2 (diff) | |
download | ferdium-app-64ab9231042408a7eeb174e30e598e42d09c6c29.tar.gz ferdium-app-64ab9231042408a7eeb174e30e598e42d09c6c29.tar.zst ferdium-app-64ab9231042408a7eeb174e30e598e42d09c6c29.zip |
Shipping recipe files directly with Ferdi
Diffstat (limited to 'gulpfile.babel.js')
-rw-r--r-- | gulpfile.babel.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gulpfile.babel.js b/gulpfile.babel.js index c0400bdac..43ebaa20a 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js | |||
@@ -28,6 +28,10 @@ const paths = { | |||
28 | tmp: '.tmp', | 28 | tmp: '.tmp', |
29 | dictionaries: 'dictionaries', | 29 | dictionaries: 'dictionaries', |
30 | package: `out/${config.version}`, | 30 | package: `out/${config.version}`, |
31 | recipes: { | ||
32 | src: 'recipes/*.tar.gz', | ||
33 | dest: 'build/recipes/', | ||
34 | }, | ||
31 | html: { | 35 | html: { |
32 | src: 'src/**/*.html', | 36 | src: 'src/**/*.html', |
33 | dest: 'build/', | 37 | dest: 'build/', |
@@ -178,6 +182,11 @@ export function dictionaries(done) { | |||
178 | }); | 182 | }); |
179 | } | 183 | } |
180 | 184 | ||
185 | export function recipes() { | ||
186 | return gulp.src(paths.recipes.src, { since: gulp.lastRun(recipes) }) | ||
187 | .pipe(gulp.dest(paths.recipes.dest)); | ||
188 | } | ||
189 | |||
181 | export function sign(done) { | 190 | export function sign(done) { |
182 | _shell(`codesign --verbose=4 --deep --strict --force --sign "${process.env.SIGNING_IDENTITY}" "${__dirname}/node_modules/electron/dist/Electron.app"`, done); | 191 | _shell(`codesign --verbose=4 --deep --strict --force --sign "${process.env.SIGNING_IDENTITY}" "${__dirname}/node_modules/electron/dist/Electron.app"`, done); |
183 | } | 192 | } |
@@ -185,7 +194,7 @@ export function sign(done) { | |||
185 | const build = gulp.series( | 194 | const build = gulp.series( |
186 | clean, | 195 | clean, |
187 | gulp.parallel(mvSrc, mvPackageJson, mvLernaPackages), | 196 | gulp.parallel(mvSrc, mvPackageJson, mvLernaPackages), |
188 | gulp.parallel(html, scripts, styles), | 197 | gulp.parallel(html, scripts, styles, recipes), |
189 | dictionaries, | 198 | dictionaries, |
190 | ); | 199 | ); |
191 | export { build }; | 200 | export { build }; |