Files
codeql-action/justfile
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
628 B
Makefile
Raw Permalink Normal View History

2025-02-20 11:59:26 +01:00
# Perform all working copy cleanup operations
all: lint sync
# Lint source typescript
lint:
npm run lint-fix
2025-02-20 11:59:26 +01:00
2025-02-19 17:13:51 +01:00
# Sync generated files (javascript and PR checks)
2025-02-19 16:51:46 +01:00
sync: build update-pr-checks
2025-02-19 17:13:51 +01:00
# Perform all necessary steps to update the PR checks
2025-02-19 16:51:46 +01:00
update-pr-checks:
pr-checks/sync.sh
2025-02-19 17:13:51 +01:00
# Transpile typescript code into javascript
2025-02-19 16:51:46 +01:00
build:
npm run build
# Build then run all the tests
test: build
npm run test
# Run the tests for a single file
test_file filename: build
2025-09-25 12:37:18 +01:00
npm run ava {{filename}}
2025-03-19 17:10:52 +00:00
[doc("Refresh the .js build artefacts in the lib directory")]
[confirm]
refresh-lib:
rm -rf lib && npm run build