File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 version_prefix : ' version/'
1111sub-apps : []
1212commands :
13+ setup : |
14+ echo PHAPP_ENV=$PHAPP_ENV > .env
15+ environment : |
16+ source .env
1317 clean : rm -rf ./vendor
1418 build : |
1519 composer install --no-dev --no-interaction
Original file line number Diff line number Diff line change 1515 mirror1 : mirror1-url
1616commands :
1717 setup : |
18- echo $PHAPP_ENV > .env
18+ echo PHAPP_ENV= $PHAPP_ENV > .env
1919 environment : |
2020 source .env
2121 build : |
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function setup($env = NULL) {
3535 // The setup command must work without a prepared environment; i.e. the
3636 // environment command is not yet available.
3737 $ content = $ this ->phappManifest ->getContent ();
38- unset( $ content ['commands ' ]['environment ' ]) ;
38+ $ content ['commands ' ]['environment ' ] = '' ;
3939 $ this ->phappManifest = new PhappManifest ($ content , $ this ->phappManifest ->getFile ());
4040 return $ this ->invokeManifestCommand ('setup ' );
4141 }
You can’t perform that action at this time.
0 commit comments