diff options
| author | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-15 19:47:11 +0400 |
|---|---|---|
| committer | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-15 19:47:11 +0400 |
| commit | 61da8e09333d50a6803604977c224162d5585e54 (patch) | |
| tree | ca73518caa8bd51b3913c97b75195d1777157a8e | |
| parent | 6c2ca2d9a150bbb5e2bdf1aee97eaced80463f99 (diff) | |
| parent | 08c86fd271e0e8c5876470161cb1fea13af803dc (diff) | |
Merge branch 'main' of https://github.com/discordnova/Nova
| -rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 |
