Skip to content

Commit

Permalink
Add bin/ with CLI executables
Browse files Browse the repository at this point in the history
  • Loading branch information
infamousjoeg committed Oct 5, 2020
1 parent 6c197f9 commit 5c96b1b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
Expand All @@ -12,5 +10,4 @@
*.out

# Dependency directories (remove the comment below to include it)
# vendor/
build/
# vendor/
Binary file added bin/darwin_cybr
Binary file not shown.
Binary file added bin/linux_cybr
Binary file not shown.
Binary file added bin/windows_cybr.exe
Binary file not shown.
8 changes: 7 additions & 1 deletion make
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#!/bin/bash

go build -o build/cybr .
echo "Making Linux x64 binary..."
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./bin/linux_cybr .
echo "Making Darwin x64 binary..."
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o ./bin/darwin_cybr .
echo "Making Windows x64 binary..."
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o ./bin/windows_cybr.exe .
echo "Finished making - files output to ./bin/"

0 comments on commit 5c96b1b

Please sign in to comment.