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')
|
->set('bin/php', '/usr/local/bin/php5-56STABLE-CLI')
|
||||||
;
|
;
|
||||||
|
|
||||||
task('build:epevents', function () {
|
task('build', function () {
|
||||||
runLocally('cd ' . __DIR__ . '/web/typo3conf/ext/ep_events && npm i && npm run build');
|
runLocally('npm i && npm run build');
|
||||||
});
|
|
||||||
|
|
||||||
task('build:eptheme', function () {
|
|
||||||
runLocally('cd ' . __DIR__ . '/web/typo3conf/ext/ep_theme && npm i && npm run build');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
task('upload:epevents', function () {
|
task('upload:epevents', function () {
|
||||||
@@ -52,21 +48,11 @@ task('upload:eptheme', function () {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
task('assets:epevents', [
|
task('assets', [
|
||||||
'build:epevents',
|
'build',
|
||||||
'upload:epevents',
|
'upload:epevents',
|
||||||
]);
|
|
||||||
|
|
||||||
task('assets:eptheme', [
|
|
||||||
'build:eptheme',
|
|
||||||
'upload:eptheme',
|
'upload:eptheme',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
task('assets', [
|
|
||||||
'assets:epevents',
|
|
||||||
'assets:eptheme',
|
|
||||||
]);
|
|
||||||
|
|
||||||
before('deploy:symlink', 'assets');
|
before('deploy:symlink', 'assets');
|
||||||
|
|
||||||
after('deploy:failed', 'deploy:unlock');
|
after('deploy:failed', 'deploy:unlock');
|
||||||
|
|||||||
Generated
+1858
-1858
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user