rust-httpserver 0.1.0

rust http sample server.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# https://www.xiexianbin.cn/program/tools/2016-01-09-makefile/index.html
.PHONY: all fmt test clean build

CARGOCMD=cargo

help:  ## Show this help.
	@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)

all: fmt test build  ## Build all

fmt:  ## run fmt
	cargo fmt

test:  ## run test
	cargo test

build:  ## build for current os
	cargo build