particle-os-cli/integration-tests/test-repo/files/scripts/example.sh
2024-11-25 22:18:21 -05:00

14 lines
415 B
Bash

#!/usr/bin/env bash
# Tell this script to exit if there are any errors.
# You should have this in every custom script, to ensure that your completed
# builds actually ran successfully without any errors!
set -oue pipefail
# Your code goes here.
echo 'This is an example shell script'
echo 'Scripts here will run during build if specified in recipe.yml'
get_json_arr FILES '.test' '{"test":[1,2,3]}'
echo $FILES