Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion chip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ rm /tmp/chiptemp

core_modules=($(docker run --rm -v "${PWD}":/workdir mikefarah/yq '.* | key + ":" + .' core-modules.yaml))

# If setup.env does not exist, create an empty setup.env
[ -f setup.env ] || touch setup.env
> setup.env
for module in ${modules[@]}; do
name=${module%%:*}
Expand Down Expand Up @@ -101,4 +103,4 @@ case $1 in
echo "Please use either 'build', 'start', 'stop', 'clean', 'config', 'list', 'auto-completion', or call without args to generate the necessary configuration without doing anything else."
echo "Add space-separated module names afterwards to perform the operation for specific modules."
;;
esac
esac