Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8b0dccd

Browse filesBrowse files
committed
build: sync some utility just instructions I had locally
1 parent 6349095 commit 8b0dccd
Copy full SHA for 8b0dccd

File tree

Expand file treeCollapse file tree

1 file changed

+17
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+17
-1
lines changed

‎justfile

Copy file name to clipboardExpand all lines: justfile
+17-1Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ all: lint sync
33

44
# Lint source typescript
55
lint:
6-
npm run lint -- --fix
6+
npm run lint-fix
77

88
# Sync generated files (javascript and PR checks)
99
sync: build update-pr-checks
@@ -15,3 +15,19 @@ update-pr-checks:
1515
# Transpile typescript code into javascript
1616
build:
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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.