Skip to content

Commit

Permalink
Finish integration into Neos, provider wrapper script
Browse files Browse the repository at this point in the history
  • Loading branch information
hlubek committed May 20, 2021
1 parent fac07f9 commit e1ab174
Show file tree
Hide file tree
Showing 3 changed files with 201 additions and 90 deletions.
15 changes: 15 additions & 0 deletions Makefile
@@ -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

0 comments on commit e1ab174

Please sign in to comment.