Simplify build process
This commit is contained in:
+4
-18
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user