-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
56 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
setup: | ||
rustup component add rustfmt | ||
rustup component add clippy | ||
rustup component add llvm-tools-preview | ||
cargo install grcov | ||
|
||
up: | ||
ifeq ($(flag),e) | ||
docker-compose up -d | ||
else ifeq ($(flag),a) | ||
docker-compose --profile dev-build up -d | ||
else | ||
$(warning "pass flag=e (environment only) or flag=a (all include applications)") | ||
endif | ||
|
||
down: | ||
ifeq ($(flag),e) | ||
docker-compose down | ||
else ifeq ($(flag),a) | ||
docker-compose --profile dev-build down | ||
else | ||
$(warning "pass flag=e (environment only) or flag=a (all include applications)") | ||
endif | ||
|
||
build: | ||
ifeq ($(flag),l) | ||
cargo build --workspace | ||
else ifeq ($(flag),i) | ||
docker-compose --profile dev-build build | ||
else | ||
$(warning "pass flag=l (for build local) or flag=i (for build images)") | ||
endif | ||
|
||
lint: | ||
cargo clippy | ||
|
||
format: | ||
cargo fmt | ||
|
||
run: | ||
./target/debug/host | ||
|
||
tests: | ||
./run_tests.sh |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters