Skip to content

Commit ad5642e

Browse files
committed
build: update generate make rule
1 parent 36151b9 commit ad5642e

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

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/build_wasm.ts
8585

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

bin/generate.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env -S npx ts-node
2-
31
import { mkdirSync, readFileSync, writeFileSync } from 'fs';
42
import { LLParse } from 'llparse';
53
import { dirname, resolve } from 'path';

0 commit comments

Comments
 (0)