Last active
March 21, 2018 20:45
-
-
Save geerteltink/7590e55f95e98daf8d930b64cd8e4b69 to your computer and use it in GitHub Desktop.
Zend Expressive Skeleton test script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"package": { | |
"name": "zendframework/zend-expressive-skeleton", | |
"version": "0.0.x-dev", | |
"source": { | |
"url": "https://github.com/xtreamwayz/expressive-composer-installer/", | |
"type": "git", | |
"reference": "hotfix/composer-serve" | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"package": { | |
"name": "zendframework/zend-expressive-skeleton", | |
"version": "1.0.1", | |
"source": { | |
"url": "./zend-expressive-skeleton/.git", | |
"type": "git", | |
"reference": "feature/config-manager" | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Remove-Item -Force -Confirm .\expressive-composer-installer-test\ | |
& composer create-project -v zendframework/zend-expressive-skeleton ./expressive-composer-installer-test/ --stability="dev" --keep-vcs --prefer-dist --repository-url="test-expressive-installer.json" | |
cd .\expressive-composer-installer-test\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm -rf ./zend-expressive-skeleton-test/ | |
composer create-project -v zendframework/zend-expressive-skeleton ./zend-expressive-skeleton-test/ --stability="dev" --keep-vcs --prefer-dist --repository-url="test-expressive-installer.json" | |
cd ./zend-expressive-skeleton-test/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem with create-project is that you cannot use a local copy with the path option. You always need to commit all changes before you test and use the branch as a reference.
The reference in the json file would be the branch to test.