Compare commits

..

2 commits

Author SHA1 Message Date
9fc70cfe57 Update git icon assets 2025-07-23 22:31:41 +02:00
47263ae585 Fix build script
Fix build script go syntax,
And remove the emoji stuffs (didn't like it)
2025-07-23 22:31:15 +02:00
4 changed files with 7 additions and 6 deletions

View file

@ -2,7 +2,7 @@
**NOTE: This project is an early work-in-progress. Many features are not yet implemented.**
![Alpacca Icon](./assets/icon.png)
![Alpacca Icon](./assets/icon_text.png)
Alpacca is a versatile platform for hosting package repositories.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 178 KiB

BIN
assets/icon_text.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View file

@ -6,20 +6,21 @@ ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
SRC_DIR="$ROOT_DIR/src"
FRONTEND_DIR="$SRC_DIR/web"
BACKEND_DIR="$SRC_DIR"
BACKEND_PKG="git.zervo.org/zervo/alpacca/cmd/alpacca"
OUTPUT_DIR="$ROOT_DIR/out"
echo "🧹 Cleaning previous build..."
echo "Cleaning previous build..."
rm -rf "$OUTPUT_DIR"
mkdir -p "$OUTPUT_DIR"
echo "🌐 Building frontend with Bun..."
echo "Building frontend with Bun..."
cd "$FRONTEND_DIR"
bun install
bun run build
echo "📦 Building Go backend..."
echo "Building Go backend..."
cd "$BACKEND_DIR"
go build -v -o "$OUTPUT_DIR" "$BACKEND_DIR"
go build -v -o "$OUTPUT_DIR" $BACKEND_PKG
cd "$ROOT_DIR"
echo "Build completed. Output located in: $OUTPUT_DIR"
echo "Build completed. Output located in: $OUTPUT_DIR"