File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ all: lint sync
33
44# Lint source typescript
55lint :
6- npm run lint -- - -fix
6+ npm run lint-fix
77
88# Sync generated files (javascript and PR checks)
99sync : build update-pr-checks
@@ -15,3 +15,19 @@ update-pr-checks:
1515# Transpile typescript code into javascript
1616build :
1717 npm run build
18+
19+ # Build then run all the tests
20+ test : build
21+ npm run test
22+
23+ # Run the tests for a single file
24+ test_file filename : build
25+ npx ava --verbose {{ filename}}
26+
27+ # FOTIS: This shouldn't really be needed, as it's covered by `sync`,
28+ # however, I recall having messed my environment such that this was the
29+ # only solution, so keeping it here for convenience & docs.
30+ [doc (" Refresh the lib directory (the .js build artefacts)" )]
31+ [confirm ]
32+ refresh-lib :
33+ rm -rf lib && npm run build
You can’t perform that action at this time.
0 commit comments