Make scripts more portable
This commit is contained in:
parent
5fded7a701
commit
39405bbc3e
7 changed files with 26 additions and 8 deletions
5
front/scripts/utils.sh
Normal file
5
front/scripts/utils.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash -S -eux
|
||||
|
||||
npm_binaries () {
|
||||
command -v yarn > /dev/null && yarn bin || npm bin
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue