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 c50c157

Browse filesBrowse files
authored
Merge pull request #2813 from github/NlightNFotis/enhance_justfile
build: sync some utility just instructions I had locally
2 parents df9f80e + c74c378 commit c50c157
Copy full SHA for c50c157

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+14
-1
lines changed

‎justfile

Copy file name to clipboardExpand all lines: justfile
+14-1Lines changed: 14 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,16 @@ 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+
[doc("Refresh the .js build artefacts in the lib directory")]
28+
[confirm]
29+
refresh-lib:
30+
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.