grasp/extension/.ci/build
Dima Gerasimov 4127e3de64 extension: move to a separate dir, update build scripts etc
borrowed build scritps etc from promnesia
2022-12-23 21:34:16 +00:00

23 lines
293 B
Bash
Executable file

#!/bin/bash
set -eux
cd "$(dirname "$0")"
cd ../.. # git root
cd extension
npm install
FAILED=0
npm run flow || FAILED=1
npm run eslint || FAILED=1
# TODO later
#npm run test || FAILED=1
for browser in 'firefox' 'chrome'; do
./build --target "$browser" "$@"
done
exit "$FAILED"