-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from tai271828/mr-devenv-launch
feat(launch): init support of launching applications
- Loading branch information
Showing
6 changed files
with
68 additions
and
6 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
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
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,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
application_name=solvcon | ||
application_branch=${VERSION:-master} | ||
application_full=$application_name-$application_branch | ||
application_src=${DEVENVROOT}/flavors/${DEVENVFLAVOR}/src/${application_full} | ||
|
||
syncgit https://github.com/solvcon ${application_name} ${application_branch} | ||
|
||
export DEVENVAPP=${DEVENVROOT}/flavors/${DEVENVFLAVOR}/application-${application_name} | ||
mkdir -p ${DEVENVAPP} | ||
|
||
ln -s ${application_src} ${DEVENVAPP}/${application_name} | ||
|
||
|
||
echo "launching solvcon..." | ||
${DEVENVROOT}/bin/build-application-solvcon-devenv.sh | ||
|
||
# vim: set et nobomb ft=bash ff=unix fenc=utf8: |
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,17 @@ | ||
. ${DEVENVROOT}/scripts/func.d/bash_utils | ||
|
||
script="${DEVENVROOT}/scripts/application.d/$1" | ||
if [ ! -f "${script}" ]; then | ||
display -e "'$1' not defined" | ||
fi | ||
|
||
if [ -z "${DEVENVFLAVOR}" ] ; then | ||
display -e "\$DEVENVFLAVOR not defined" | ||
fi | ||
|
||
. ${DEVENVROOT}/scripts/func.d/build_utils | ||
display "Execute building script \"${script}\" ${@:$(($#+1))} ..." | ||
. ${script} | ||
display "Finished building script \"${script}\"." | ||
|
||
# vim: set et nu nobomb fenc=utf8 ft=sh ff=unix sw=2 ts=2: |
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
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