Compare commits
No commits in common. "9fc70cfe572463f713015ea1328530ea513914ff" and "ceb12659f9d55ce0dfb767c952655d880c2879cd" have entirely different histories.
9fc70cfe57
...
ceb12659f9
4 changed files with 6 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
**NOTE: This project is an early work-in-progress. Many features are not yet implemented.**
|
**NOTE: This project is an early work-in-progress. Many features are not yet implemented.**
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Alpacca is a versatile platform for hosting package repositories.
|
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: 178 KiB After Width: | Height: | Size: 22 KiB |
Binary file not shown.
Before Width: | Height: | Size: 22 KiB |
11
build.sh
11
build.sh
|
@ -6,21 +6,20 @@ ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
SRC_DIR="$ROOT_DIR/src"
|
SRC_DIR="$ROOT_DIR/src"
|
||||||
FRONTEND_DIR="$SRC_DIR/web"
|
FRONTEND_DIR="$SRC_DIR/web"
|
||||||
BACKEND_DIR="$SRC_DIR"
|
BACKEND_DIR="$SRC_DIR"
|
||||||
BACKEND_PKG="git.zervo.org/zervo/alpacca/cmd/alpacca"
|
|
||||||
OUTPUT_DIR="$ROOT_DIR/out"
|
OUTPUT_DIR="$ROOT_DIR/out"
|
||||||
|
|
||||||
echo "Cleaning previous build..."
|
echo "🧹 Cleaning previous build..."
|
||||||
rm -rf "$OUTPUT_DIR"
|
rm -rf "$OUTPUT_DIR"
|
||||||
mkdir -p "$OUTPUT_DIR"
|
mkdir -p "$OUTPUT_DIR"
|
||||||
|
|
||||||
echo "Building frontend with Bun..."
|
echo "🌐 Building frontend with Bun..."
|
||||||
cd "$FRONTEND_DIR"
|
cd "$FRONTEND_DIR"
|
||||||
bun install
|
bun install
|
||||||
bun run build
|
bun run build
|
||||||
|
|
||||||
echo "Building Go backend..."
|
echo "📦 Building Go backend..."
|
||||||
cd "$BACKEND_DIR"
|
cd "$BACKEND_DIR"
|
||||||
go build -v -o "$OUTPUT_DIR" $BACKEND_PKG
|
go build -v -o "$OUTPUT_DIR" "$BACKEND_DIR"
|
||||||
|
|
||||||
cd "$ROOT_DIR"
|
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