first commit
This commit is contained in:
21
scripts/build_illumos.sh
Normal file
21
scripts/build_illumos.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# Copyright 2026 Safronov Grigorii
|
||||
#
|
||||
# Licensed under the CDDL, Version 1.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
#
|
||||
# You may obtain a copy of the License at
|
||||
# https://opensource.org/licenses/CDDL-1.0
|
||||
#
|
||||
|
||||
# Специальная сборка для Illumos (OpenIndiana Hipster / OmniOS)
|
||||
|
||||
export GOOS=illumos
|
||||
export GOARCH=amd64
|
||||
export CGO_ENABLED=1
|
||||
|
||||
echo "🔧 Building for Illumos..."
|
||||
go build -tags=illumos -o futriis-illumos ./cmd/futriis
|
||||
echo "✅ Done: futriis-illumos"
|
||||
Reference in New Issue
Block a user