File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,13 @@ def symfony_vendor_path
39
39
end
40
40
41
41
def build_bootstrap_path
42
- symfony_vendor_path . join ( "sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php" )
42
+ bootstrap_path = symfony_vendor_path . join ( "sensio/distribution-bundle" )
43
+
44
+ if fetch ( :sensio_distribution_version ) . to_i <= 4
45
+ bootstrap_path = bootstrap_path . join ( "Sensio/Bundle/DistributionBundle" )
46
+ end
47
+
48
+ bootstrap_path . join ( "Resources/bin/build_bootstrap.php" )
43
49
end
44
50
45
51
def symfony_console ( command , params = '' )
Original file line number Diff line number Diff line change 4
4
set :symfony_env , "prod"
5
5
6
6
set :symfony_directory_structure , 2
7
+ set :sensio_distribution_version , 4
7
8
8
9
# symfony-standard edition top-level directories
9
10
set :app_path , "app"
You can’t perform that action at this time.
0 commit comments