mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-23 01:22:12 +03:00
Delete seemingly unused file
`check.sh` could not be found anywhere in the codebase.
This commit is contained in:
parent
ee7660f395
commit
e1ece12768
@ -1,38 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
function rust() {
|
||||
cargo fmt --check
|
||||
cargo clippy --all-targets --all-features --tests
|
||||
cargo test
|
||||
}
|
||||
|
||||
function node() {
|
||||
pnpm lint
|
||||
pnpm check
|
||||
}
|
||||
|
||||
if [[ "$#" -eq 0 ]]; then
|
||||
set -o xtrace
|
||||
rust
|
||||
node
|
||||
else
|
||||
case "$1" in
|
||||
rust)
|
||||
set -o xtrace
|
||||
rust
|
||||
;;
|
||||
node)
|
||||
set -o xtrace
|
||||
node
|
||||
;;
|
||||
*)
|
||||
echo "Invalid argument: $1"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
fi
|
Loading…
Reference in New Issue
Block a user