Skip to content

Commit 12fd20c

Browse files
authored
fix: update generate make rule (#683)
1 parent 1f23986 commit 12fd20c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ postversion: release
8181
git checkout main
8282

8383
generate:
84-
npx ts-node bin/generate.ts
84+
node --import tsx bin/generate.ts
8585

8686
install: build/libllhttp.a build/libllhttp.so
8787
$(INSTALL) -d $(DESTDIR)$(INCLUDEDIR)

bin/generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env -S npx ts-node
1+
#!/usr/bin/env -S node --import tsx
22

33
import { mkdirSync, readFileSync, writeFileSync } from 'fs';
44
import { LLParse } from 'llparse';

0 commit comments

Comments
 (0)