feat(core): Initial project scaffold and implementation: Deno CLI, ISO tooling, cloud-init generation, packaging and installer scripts
This commit is contained in:
33
scripts/compile-all.sh
Executable file
33
scripts/compile-all.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
echo "🔨 Compiling isocreator binaries for all platforms..."
|
||||
|
||||
# Create dist directory if it doesn't exist
|
||||
mkdir -p dist/binaries
|
||||
|
||||
# Linux x64
|
||||
echo "📦 Compiling for Linux x64..."
|
||||
deno compile --allow-all --no-check --target x86_64-unknown-linux-gnu --output dist/binaries/isocreator-linux-x64 mod.ts
|
||||
|
||||
# Linux ARM64
|
||||
echo "📦 Compiling for Linux ARM64..."
|
||||
deno compile --allow-all --no-check --target aarch64-unknown-linux-gnu --output dist/binaries/isocreator-linux-arm64 mod.ts
|
||||
|
||||
# macOS x64
|
||||
echo "📦 Compiling for macOS x64..."
|
||||
deno compile --allow-all --no-check --target x86_64-apple-darwin --output dist/binaries/isocreator-macos-x64 mod.ts
|
||||
|
||||
# macOS ARM64
|
||||
echo "📦 Compiling for macOS ARM64..."
|
||||
deno compile --allow-all --no-check --target aarch64-apple-darwin --output dist/binaries/isocreator-macos-arm64 mod.ts
|
||||
|
||||
# Windows x64
|
||||
echo "📦 Compiling for Windows x64..."
|
||||
deno compile --allow-all --no-check --target x86_64-pc-windows-msvc --output dist/binaries/isocreator-windows-x64.exe mod.ts
|
||||
|
||||
echo "✅ All binaries compiled successfully!"
|
||||
echo ""
|
||||
echo "Binaries location: dist/binaries/"
|
||||
ls -lh dist/binaries/
|
||||
Reference in New Issue
Block a user