justfile: always emit types on build.

This commit is contained in:
fiatjaf 2024-01-23 10:58:57 -03:00
parent 0f5b3f397c
commit 31a35a8008
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1
1 changed files with 2 additions and 4 deletions

View File

@ -3,6 +3,7 @@ export PATH := "./node_modules/.bin:" + env_var('PATH')
build:
rm -rf lib
bun run build.js
tsc
test:
bun test --timeout 20000
@ -10,10 +11,7 @@ test:
test-only file:
bun test {{file}}
emit-types:
tsc # see tsconfig.json
publish: build emit-types
publish: build
npm publish
format: