Simplify build process

This commit is contained in:
Björn Fromme
2018-05-23 19:58:18 +02:00
parent f4724c00a9
commit 9509d5fdee
2 changed files with 1862 additions and 1876 deletions
+4 -18
View File
@@ -24,12 +24,8 @@ server('production', 'dreipunktnull.com')
->set('bin/php', '/usr/local/bin/php5-56STABLE-CLI')
;
task('build:epevents', function () {
runLocally('cd ' . __DIR__ . '/web/typo3conf/ext/ep_events && npm i && npm run build');
});
task('build:eptheme', function () {
runLocally('cd ' . __DIR__ . '/web/typo3conf/ext/ep_theme && npm i && npm run build');
task('build', function () {
runLocally('npm i && npm run build');
});
task('upload:epevents', function () {
@@ -52,21 +48,11 @@ task('upload:eptheme', function () {
);
});
task('assets:epevents', [
'build:epevents',
task('assets', [
'build',
'upload:epevents',
]);
task('assets:eptheme', [
'build:eptheme',
'upload:eptheme',
]);
task('assets', [
'assets:epevents',
'assets:eptheme',
]);
before('deploy:symlink', 'assets');
after('deploy:failed', 'deploy:unlock');