mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:44:35 +03:00
get rid of some more gnulinuxisms
to get builds on openbsd going
This commit is contained in:
2
tsc.sh
2
tsc.sh
@ -8,5 +8,5 @@ set -euo pipefail
|
||||
out=$1
|
||||
shift
|
||||
./node_modules/.bin/tsc --noEmitOnError true --pretty false --newLine lf --strict --allowUnreachableCode false --allowUnusedLabels false --noFallthroughCasesInSwitch true --noImplicitReturns true --noUnusedLocals true --noImplicitThis true --noUnusedParameters true --target es2022 --module none --outFile $out.spaces "$@" | sed -E 's/^([^\(]+)\(([0-9]+),([0-9]+)\):/\1:\2:\3: /'
|
||||
unexpand -t4 <$out.spaces >$out
|
||||
CGO_ENABLED=0 go run unexpand.go -t 4 <$out.spaces >$out
|
||||
rm $out.spaces
|
||||
|
Reference in New Issue
Block a user