mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
Add executables for multi-platform build:
- Windows (.exe) - macOS (.app) - Linux (binary)
This commit is contained in:
parent
6524cfca99
commit
36ec1acf7f
BIN
evaluate/code-generator/bin/evaluate-code-linux
Executable file
BIN
evaluate/code-generator/bin/evaluate-code-linux
Executable file
Binary file not shown.
BIN
evaluate/code-generator/bin/evaluate-code-mac
Executable file
BIN
evaluate/code-generator/bin/evaluate-code-mac
Executable file
Binary file not shown.
BIN
evaluate/code-generator/bin/evaluate-code-mac-arm64
Executable file
BIN
evaluate/code-generator/bin/evaluate-code-mac-arm64
Executable file
Binary file not shown.
BIN
evaluate/code-generator/bin/evaluate-code.exe
Executable file
BIN
evaluate/code-generator/bin/evaluate-code.exe
Executable file
Binary file not shown.
17
evaluate/code-generator/build.sh
Executable file
17
evaluate/code-generator/build.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
mkdir -p bin
|
||||
|
||||
echo "Building for Linux (amd64)..."
|
||||
GOOS=linux GOARCH=amd64 go build -o bin/evaluate-code-linux ./cmd/
|
||||
|
||||
echo "Building for macOS (amd64)..."
|
||||
GOOS=darwin GOARCH=amd64 go build -o bin/evaluate-code-mac ./cmd/
|
||||
|
||||
echo "Building for macOS (arm64)..."
|
||||
GOOS=darwin GOARCH=arm64 go build -o bin/evaluate-code-mac-arm64 ./cmd/
|
||||
|
||||
echo "Building for Windows (amd64)..."
|
||||
GOOS=windows GOARCH=amd64 go build -o bin/evaluate-code.exe ./cmd/
|
||||
|
||||
echo "Build complete! Binaries are in the bin directory."
|
Loading…
Reference in New Issue
Block a user