Test does not know the ==-Parameter. It only accepts =. For better style use around variable to evade problems when the variable contains spaces
9 lines
161 B
Bash
Executable file
9 lines
161 B
Bash
Executable file
#!/bin/sh -e
|
|
yarn lint
|
|
for conf in $(ls config/); do
|
|
if [ "$conf" = "utils.js" ]; then
|
|
continue
|
|
fi
|
|
yarn build $conf
|
|
yarn production-build $conf
|
|
done
|