add build step

This commit is contained in:
DavidVentura
2024-01-31 18:28:16 +01:00
parent 7d2160f07f
commit 9a37f97960
3 changed files with 14 additions and 3 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
.PHONY: run hook install-wireshark-dissector test
.PHONY: run hook install-wireshark-dissector test build
bundle.js: frida-hooks.js func_replacements.js
~/node_modules/.bin/frida-compile -o $@ frida-hooks.js
@@ -8,6 +8,10 @@ venv: requirements.txt
./venv/bin/pip install -r requirements.txt
touch venv
build: node_modules
./node_modules/.bin/tsc
tar czf build.tar.gz build package.json
run: node_modules
./node_modules/.bin/ts-node --esm http_server.ts