2020-02-19 08:06:35 +08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
main() {
|
2020-04-30 19:52:54 +08:00
|
|
|
cd "$(dirname "$0")/../.."
|
2020-02-19 08:06:35 +08:00
|
|
|
|
|
|
|
yarn fmt
|
|
|
|
yarn lint
|
2021-03-10 07:35:25 +08:00
|
|
|
yarn test:unit
|
2020-02-19 08:06:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
main "$@"
|