mirror of
https://github.com/Borales/actions-yarn.git
synced 2026-06-24 17:19:26 +08:00
Initial commit
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
# script/bootstrap: Resolve dependencies that the application requires to run.
|
||||
|
||||
# Exit if any subcommand fails
|
||||
set -e
|
||||
|
||||
# Ensure we're always running from the project root
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then
|
||||
brew bundle check >/dev/null 2>&1 || {
|
||||
echo "==> Installing Homebrew dependencies…"
|
||||
brew bundle
|
||||
}
|
||||
fi
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Exit if any subcommand fails
|
||||
set -e
|
||||
|
||||
# Ensure we're always running from the project root
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
bats test/*.bats
|
||||
shellcheck *.sh
|
||||
Reference in New Issue
Block a user