File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,7 @@ task('local:build', function() {
23
23
invoke('deploy:prepare');
24
24
invoke('deploy:release');
25
25
invoke('deploy:update_code');
26
-
27
- foreach (get('shared_dirs') as $dir) {
28
- if (test("[ -d {{previous_release}}/$dir ]")) {
29
- run("mkdir -p {{release_path}}/$dir");
30
- run("rsync -r --ignore-existing {{previous_release}}/$dir {{release_path}}/" . dirname(parse($dir)));
31
- }
32
- }
33
- foreach (get('shared_files') as $file) {
34
- if (test("[ -f {{previous_release}}/$file ]")) {
35
- run("mkdir -p {{release_path}}/" . dirname(parse($file)));
36
- run("rsync --ignore-existing {{previous_release}}/$file {{release_path}}/$file");
37
- }
38
- }
39
-
26
+ copyShared('{{previous_release}}', '{{release_path}}');
40
27
invoke('deploy:shared');
41
28
invoke('deploy:vendors');
42
29
invoke('hook:build'); // Any tasks hooked to `build` will be called locally
You can’t perform that action at this time.
0 commit comments