10 Star 72 Fork 17

範輝 / KKcloud

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 708 Bytes
一键复制 编辑 原始数据 按行查看 历史
FanHui 提交于 2021-03-06 11:14 . fix warnings in tests
TARGET = $(shell rustup toolchain list | grep default | sed -r 's/^ *[^-]+-//' | sed 's/ *(default).*//')
all: build
build:
cargo build --target=$(TARGET)
release:
cargo build --release --target=$(TARGET)
lint:
cargo clippy
cargo clippy --tests
test:
cargo test --workspace -- --test-threads=1
cargo test --lib --workspace -- --test-threads=1
fmt:
@ ./tools/fmt.sh
clean:
@ find . -type f -name "Cargo.lock" | xargs rm -f
cleanall: clean
@ git clean -fdx
@ cargo clean
doc:
@ cargo doc --workspace
@ cd src/engine && cargo doc --open
@ cd src/framework && cargo doc --open
@ cd src/server && cargo doc --open
@ cd src/client && cargo doc --open
@ cd src/kkcloud && cargo doc --open
Rust
1
https://gitee.com/kt10/kkcloud.git
git@gitee.com:kt10/kkcloud.git
kt10
kkcloud
KKcloud
feat-redesign

搜索帮助