-
Notifications
You must be signed in to change notification settings - Fork 4
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 #543 from MetaCell/feature/GEP-166
GEP-166 Update showcase code to make it compatible with the last geppetto.js libs
- Loading branch information
Showing
15 changed files
with
1,515 additions
and
3,127 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
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 |
---|---|---|
@@ -1,20 +1,12 @@ | ||
yarn global add yalc | ||
#!/usr/bin/env bash | ||
|
||
cd ../ | ||
app=$(pwd) | ||
# Trick to have folder relative to the script, not CWD | ||
PARENT_PATH=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) | ||
cd "${PARENT_PATH}" | ||
|
||
cd $app/geppetto.js/geppetto-core | ||
yarn && yarn build && yarn publish:yalc | ||
# Install the libraries (if not already installed) | ||
GEPPETTO_JS="../geppetto.js" | ||
|
||
cd $app/geppetto.js/geppetto-ui | ||
yarn && yarn build:src && yarn publish:yalc | ||
(bash "${GEPPETTO_JS}/dev-install.sh") | ||
|
||
cd $app/geppetto.js/geppetto-client | ||
yarn && yarn build && yarn publish:yalc | ||
|
||
cd $app/geppetto-showcase | ||
yalc add @metacell/geppetto-meta-client | ||
yalc add @metacell/geppetto-meta-core | ||
yalc add @metacell/geppetto-meta-ui | ||
|
||
yarn | ||
yarn install && yarn link:yalc |
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
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 @@ | ||
#!/usr/bin/env sh | ||
|
||
# Trick to have folder relative to the script, not CWD | ||
PARENT_PATH=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) | ||
cd "${PARENT_PATH}" | ||
|
||
function kill_subprocess(){ | ||
kill $(jobs -p -r) | ||
} | ||
|
||
GEPPETTO_JS="../geppetto.js" | ||
(cd "${GEPPETTO_JS}/geppetto-core" && yarn watch) & | ||
(cd "${GEPPETTO_JS}/geppetto-ui" && yarn watch) & | ||
(cd "${GEPPETTO_JS}/geppetto-client" && yarn watch) & | ||
|
||
trap kill_subprocess INT | ||
wait |
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
Oops, something went wrong.