Skip to content

Commit

Permalink
added bin
Browse files Browse the repository at this point in the history
  • Loading branch information
yabetsu93 committed Jul 16, 2021
1 parent a64f880 commit 33cac3f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Binary file added bin/syslog_ng_exporter
Binary file not shown.
Binary file added bin/syslog_ng_exporter.exe
Binary file not shown.
4 changes: 1 addition & 3 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ for os_arch in "${os_archs[@]}"
do
goos=${os_arch%/*}
goarch=${os_arch#*/}
printf "\t%s\n" "${goos}"
printf "\t%s\n" "${goarch}"
GOOS=${goos} GOARCH=${goarch} go build -o /dev/null syslog_ng_exporter.go >/dev/null 2>&1
GOOS=${goos} GOARCH=${goarch} go build -o ./bin syslog_ng_exporter.go >/dev/null 2>&1
if [ $? -eq 0 ]
then
os_archs_64+=(${os_arch})
Expand Down

0 comments on commit 33cac3f

Please sign in to comment.