dummyhttp 0.1.0

Super simple HTTP server that replies a fixed body with a fixed response code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.PHONY: build-linux
build-linux:
	cargo build --target x86_64-unknown-linux-musl --release
	strip target/x86_64-unknown-linux-musl/release/dummyhttp
	upx target/x86_64-unknown-linux-musl/release/dummyhttp

.PHONY: build-win
build-win:
	RUSTFLAGS="-C linker=x86_64-w64-mingw32-gcc" cargo build --target x86_64-pc-windows-gnu --release
	strip target/x86_64-pc-windows-gnu/release/dummyhttp.exe
	upx target/x86_64-pc-windows-gnu/release/dummyhttp.exe

.PHONY: build-apple
build-apple:
	cargo build --target x86_64-apple-darwin --release
	strip target/x86_64-apple-darwin/release/dummyhttp
	upx target/x86_64-apple-darwin/release/dummyhttp