Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Split into install and build. Iterate projects for build
- Loading branch information
Showing
3 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
readonly PROJECTDIR='./projects/' | ||
|
||
for project in $(ls "${PROJECTDIR}"); do | ||
( | ||
cd "${PROJECTDIR}${project}" | ||
# po lib clean . -f &> /dev/null | ||
# yes "no" | po lib setup # change to "yes" to prefer libraries from GitHub | ||
po photon build | ||
) | ||
done |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
sudo apt-get update | ||
bash <(curl -sL https://raw.githubusercontent.com/nrobinson2000/po/master/ci/ci-install) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
#!/bin/bash | ||
sudo apt-get update | ||
bash <(curl -sL https://raw.githubusercontent.com/nrobinson2000/po/master/ci/ci-install) | ||
po lib clean . -f &> /dev/null | ||
yes "no" | po lib setup # change to "yes" to prefer libraries from GitHub | ||
po photon build | ||
source './ci/po-install.sh' | ||
source './ci/po-build-projects.sh' |