You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
529 B
25 lines
529 B
debug:
|
|
npx tsc
|
|
./compile.sh debug
|
|
rm -rf ./npm_build/bin
|
|
mkdir -p ./npm_build/bin
|
|
cp ../../out/tskit_debug/tskit.js ./npm_build/bin
|
|
cp ../../out/tskit_debug/tskit.wasm ./npm_build/bin
|
|
|
|
release:
|
|
npx tsc
|
|
./compile.sh
|
|
rm -rf ./npm_build/bin
|
|
mkdir -p ./npm_build/bin
|
|
cp ../../out/tskit/tskit.js ./npm_build/bin
|
|
cp ../../out/tskit/tskit.wasm ./npm_build/bin
|
|
|
|
serve:
|
|
echo "Go check out http://localhost:8000/npm_build/example.html"
|
|
python serve.py
|
|
|
|
lint:
|
|
npx eslint . --ext .ts
|
|
|
|
apply-lint:
|
|
npx eslint . --ext .ts --fix
|