Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish integration into Neos, provider wrapper script
- Loading branch information
Showing
3 changed files
with
201 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
all: build_linux_amd64 build_darwin_amd64 copy | ||
|
||
build_linux_amd64: | ||
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags='-extldflags=-static' -o bin/prunner-linux-amd64 | ||
|
||
build_darwin_amd64: | ||
GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags='-extldflags=-static' -o bin/prunner-darwin-amd64 | ||
|
||
# TODO Add more build targets | ||
|
||
copy: | ||
mkdir -p ../neos/DistributionPackages/Flowpack.Prunner/Resources/Private/Bin/Linux/x86_64 | ||
cp bin/prunner-linux-amd64 ../neos/DistributionPackages/Flowpack.Prunner/Resources/Private/Bin/Linux/x86_64/prunner | ||
mkdir -p ../neos/DistributionPackages/Flowpack.Prunner/Resources/Private/Bin/Darwin/x86_64 | ||
cp bin/prunner-darwin-amd64 ../neos/DistributionPackages/Flowpack.Prunner/Resources/Private/Bin/Darwin/x86_64/prunner |
Oops, something went wrong.