summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-15 19:47:11 +0400
committerMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-15 19:47:11 +0400
commit61da8e09333d50a6803604977c224162d5585e54 (patch)
treeca73518caa8bd51b3913c97b75195d1777157a8e
parent6c2ca2d9a150bbb5e2bdf1aee97eaced80463f99 (diff)
parent08c86fd271e0e8c5876470161cb1fea13af803dc (diff)
Merge branch 'main' of https://github.com/discordnova/Nova
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7cc4e49..13432cb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,21 @@
# Build nova all-in-one bin
all:
+ gcc -v
# Creates bin folder for artifacts
@mkdir -p build/{bin,lib}
# Builds rust
@echo "Building rust project"
cargo build --release
- ls target/
@cp target/release/liball_in_one.a build/lib
- @cp target/release/{cache,gateway,ratelimit,rest,webhook} build/bin
+ @cp target/release/cache build/bin
+ @cp target/release/gateway build/bin
+ @cp target/release/ratelimit build/bin
+ @cp target/release/rest build/bin
+ @cp target/release/webhook build/bin
# Builds go
- go build -a -ldflags '-s' -o build/bin/nova cmd/nova/nova.go
+ go build -a -x -ldflags '-s' -o build/bin/nova cmd/nova/nova.go
docker-images:
docker-compose build