Compare commits
2 commits
ceb12659f9
...
9fc70cfe57
Author | SHA1 | Date | |
---|---|---|---|
9fc70cfe57 | |||
47263ae585 |
4 changed files with 7 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
**NOTE: This project is an early work-in-progress. Many features are not yet implemented.**
|
||||
|
||||

|
||||

|
||||
|
||||
Alpacca is a versatile platform for hosting package repositories.
|
||||
|
||||
|
|
BIN
assets/icon.png
BIN
assets/icon.png
Binary file not shown.
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 178 KiB |
BIN
assets/icon_text.png
Normal file
BIN
assets/icon_text.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
11
build.sh
11
build.sh
|
@ -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"
|
Loading…
Add table
Reference in a new issue