forked from mars1211/rust-socketio
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
29 lines (21 loc) · 761 Bytes
/
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
27
28
29
.PHONY: build test-fast test-all clippy format checks pipeline
build:
@cargo build --verbose --all-features
keys:
@./ci/keygen.sh node-engine-io-secure 127.0.0.1
test-fast: keys
@cargo test --verbose --package rust_socketio --lib -- engineio::packet && cargo test --verbose --package rust_socketio --lib -- socketio::packet
test-all: keys
@cargo test --verbose --all-features
clippy:
@cargo clippy --verbose --all-features
format:
@cargo fmt --all -- --check
checks: build test-fast clippy format
@echo "### Don't forget to add untracked files! ###"
@git status
@echo "### Awesome work! 😍 ###"""
pipeline: build test-all clippy format
@echo "### Don't forget to add untracked files! ###"
@git status
@echo "### Awesome work! 😍 ###"""