-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
39a7fd6
commit a379126
Showing
246 changed files
with
4,701 additions
and
1,046 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
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,32 @@ | ||
#!/usr/bin/bash | ||
set -e | ||
|
||
# Set working directory | ||
cd "$(dirname "$0")" | ||
cd ../ | ||
|
||
# Check that vintner has been built | ||
ENTRYPOINT="build/cli/index.js" | ||
VINTNER="node build/cli/index.js" | ||
if [ ! -f "${ENTRYPOINT}" ]; then | ||
echo "Entrypoint not found" | ||
exit 1 | ||
fi | ||
|
||
# Unpull dependencies of each example | ||
for EXAMPLE in examples/*/; do | ||
|
||
# Ignore directories starting with a dot | ||
if [[ "${EXAMPLE}" == "\."* ]]; then | ||
continue | ||
fi | ||
|
||
# Ignore directories without config.yaml | ||
if [ ! -f "${EXAMPLE}/config.yaml" ]; then | ||
continue | ||
fi | ||
|
||
# Unpull dependencies | ||
echo "$Unpulling ${EXAMPLE}" | ||
$VINTNER template unpull --dir "$(realpath ${EXAMPLE})" | ||
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
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.