mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
9 lines
151 B
Bash
Executable File
9 lines
151 B
Bash
Executable File
#!/usr/bin/sh
|
|
set -e
|
|
|
|
if git diff --cached --name-only | grep -E '.(js|json)$'; then
|
|
yarn install
|
|
yarn run package
|
|
exec git add dist/index.js
|
|
fi
|