Improve workspace

This commit is contained in:
Tobias Reisinger 2024-05-03 00:46:11 +02:00
parent 1cf9ad4904
commit c3659a96b9
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 11 additions and 2958 deletions

View file

@ -1,3 +1,6 @@
[alias]
format = "+nightly fmt"
lint = "clippy --all-targets --all-features -- -D warnings"
[patch.'https://git.serguzim.me/emgauwa/common.git']
emgauwa-common = { path = "./common" }

View file

@ -1,3 +0,0 @@
#EMGAUWA_CONTROLLER__LOGGING__LEVEL=DEBUG
#EMGAUWA_CORE__LOGGING__LEVEL=DEBUG

2943
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,10 +0,0 @@
[workspace]
resolver = "2"
members = [
"core",
"controller",
"common",
]
[patch.'https://git.serguzim.me/emgauwa/common.git']
emgauwa-common = { path = "./common" }

View file

@ -4,16 +4,22 @@ configs:
$(MAKE) -C controller config
ln -s controller/emgauwa-controller.json emgauwa-controller.json
clone-http:
git-clone-http:
git clone https://git.serguzim.me/emgauwa/common.git
git clone https://git.serguzim.me/emgauwa/core.git
git clone https://git.serguzim.me/emgauwa/controller.git
clone-ssh:
git-clone-ssh:
git clone git@git.serguzim.me:emgauwa/common.git
git clone git@git.serguzim.me:emgauwa/core.git
git clone git@git.serguzim.me:emgauwa/controller.git
git-status:
@printf "===== COMMON =====\n" && cd common && git status
@printf "\n\n===== CORE =====\n" && cd core && git status
@printf "\n\n===== CONTROLLER =====\n" && cd controller && git status
emgauwa-core_%:
$(TOOL) build --target $* --release
mkdir -p out/releases