fdedcf53bb
Basic checks / Compilation, Unit and Integration Tests (push) Has been cancelled
Basic checks / Hygiene and Layering (push) Has been cancelled
Basic checks / Warm up node modules cache (push) Has been cancelled
Check Format and Lint / lint-and-format (push) Has been cancelled
21 lines
426 B
Bash
Executable File
21 lines
426 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Install dependencies for the submodule
|
|
./install-dependencies.sh
|
|
if [ $? -ne 0 ]; then
|
|
echo "Failed to install dependencies"
|
|
echo "Packaging did not succeed."
|
|
exit 1
|
|
fi
|
|
|
|
# Run yarn gulp with input arguments
|
|
yarn gulp {input} "$1"
|
|
if [ $? -ne 0 ]; then
|
|
echo "Failed to run yarn gulp"
|
|
echo "Packaging did not succeed."
|
|
exit 1
|
|
fi
|
|
|
|
# Success message
|
|
echo "Packaging Completed Successfully! ⭐"
|