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
3939 end
4040
4141 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" )
4349 end
4450
4551 def symfony_console ( command , params = '' )
Original file line number Diff line number Diff line change 44set :symfony_env , "prod"
55
66set :symfony_directory_structure , 2
7+ set :sensio_distribution_version , 4
78
89# symfony-standard edition top-level directories
910set :app_path , "app"
You can’t perform that action at this time.
0 commit comments