-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathMakefile
26 lines (22 loc) · 1.03 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
clean:
@rm -rf ./build
compile-linux:
@deno compile --target=x86_64-unknown-linux-gnu \
--allow-run --allow-sys --allow-env --allow-read --allow-write=__hyper__,/tmp/hyper --allow-net \
--unstable --no-check=remote \
--output ./build/hyper-x86_64-unknown-linux-gnu-$(VER) mod.js
compile-apple:
@deno compile --target=x86_64-apple-darwin \
--allow-run --allow-sys --allow-env --allow-read --allow-write=__hyper__,/tmp/hyper --allow-net \
--unstable --no-check=remote \
--output ./build/hyper-x86_64-apple-darwin-$(VER) mod.js
compile-arch-apple:
@deno compile --target=aarch64-apple-darwin \
--allow-run --allow-sys --allow-env --allow-read --allow-write=__hyper__,/tmp/hyper --allow-net \
--unstable --no-check=remote \
--output ./build/hyper-aarch64-apple-darwin-$(VER) mod.js
compile-windows:
@deno compile --target=x86_64-pc-windows-msvc \
--allow-run --allow-sys --allow-env --allow-read --allow-write=__hyper__,/tmp/hyper --allow-net \
--unstable --no-check=remote \
--output ./build/hyper-x86_64-pc-windows-msvc-$(VER) mod.js