Closed OlafRadicke closed 7 years ago
I do like this idea! I would implement similarly to CHANGELOG support. Please see issue #3.
Okay, here my format suggestion for the embedded way:
gulp.task('dist_deb', function () {
return gulp.src(['./bin/hello-world'])
.pipe(deb({
package: 'hello-world',
version: '3.1.7',
section: 'base',
priority: 'optional',
architecture: 'all',
maintainer: 'Olaf Radicke <o.radicke@meteocontrol.de>',
description: 'Only a example',
preinst: [ "addgroup foo-prog"],
postinst: [ "systemctl daemon-reload", "systemctel enable foo-prog"]
_target: '/usr/bin/',
_out: 'dist'
}))
});
Looks excellent. Nice work!
On 22 December 2016 at 11:01, Olaf Radicke notifications@github.com wrote:
Okay, here my format suggestion for the embedded way:
gulp.task('dist_deb', function () { return gulp.src(['./bin/hello-world']) .pipe(deb({ package: 'hello-world', version: '3.1.7', section: 'base', priority: 'optional', architecture: 'all', maintainer: 'Olaf Radicke o.radicke@meteocontrol.de', description: 'Only a example', preinst: [ "addgroup foo-prog"], postinst: [ "systemctl daemon-reload", "systemctel enable foo-prog"] _target: '/usr/bin/', _out: 'dist' })) });
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/stpettersens/gulp-debian/issues/4#issuecomment-268776744, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVsGUV5JxR_e_0DL6B2r6v9nM5_-oIFks5rKlh_gaJpZM4LTurA .
This is now (at least initially) implemented for preinst and postinst under version 0.1.4.
Thank you very much!
You're welcome. Happy New Year!
Hi!
Same question like the changelog request: Do you have a idea for a implementation of a postinst script support? Do you prefer a embedded solution in the Gulpfile.js or more as an external file?