Skip to content

Commit

Permalink
Merge pull request #546 from MetaCell/feature/fix-script-names
Browse files Browse the repository at this point in the history
Fix typo in script names
  • Loading branch information
aranega authored Sep 25, 2024
2 parents baf0e97 + 4a899db commit 6341b57
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 25 deletions.
4 changes: 2 additions & 2 deletions examples/layout-manager-playground/setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ cd "${PARENT_PATH}"
# Install the libraries (if not already installed)
GEPPETTO_JS="../../geppetto.js"

(bash "${GEPPETTO_JS}/dev-install.sh")
(bash "${GEPPETTO_JS}/dev-install.bash")

yarn install
yarn install
2 changes: 1 addition & 1 deletion examples/multiple-layout-manager-playground/setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ cd "${PARENT_PATH}"

# Install the libraries (if not already installed)
GEPPETTO_JS="../../geppetto.js"
(bash "${GEPPETTO_JS}/dev-install.sh")
(bash "${GEPPETTO_JS}/dev-install.bash")

yarn install
4 changes: 2 additions & 2 deletions geppetto-showcase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ The geppetto-showcase depends on three local packages: geppetto-client, geppetto

We use [yalc](https://github.com/wclr/yalc) as a local repository to manage these dependencies.

The `./setup.sh` script will build and add the local geppetto packages to the showcase:
The `./setup.bash` script will build and add the local geppetto packages to the showcase:

```bash
bash ./setup.sh
bash ./setup.bash
```

Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions geppetto-showcase/setup.sh → geppetto-showcase/setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ cd "${PARENT_PATH}"
# Install the libraries (if not already installed)
GEPPETTO_JS="../geppetto.js"

(bash "${GEPPETTO_JS}/dev-install.sh")
(bash "${GEPPETTO_JS}/dev-install.bash")

yarn install && yarn link:yalc
yarn install && yarn link:yalc
14 changes: 14 additions & 0 deletions setup.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

# Trick to have folder relative to the script, not CWD
PARENT_PATH=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
cd "${PARENT_PATH}"


# Install the libraries (if not already installed)
GEPPETTO_JS="./geppetto.js"

(bash "${GEPPETTO_JS}/dev-install.bash")

# Install the showcase example
(cd geppetto-showcase && yarn install && yarn link:yalc)
18 changes: 0 additions & 18 deletions setup.sh

This file was deleted.

0 comments on commit 6341b57

Please sign in to comment.