Skip to content

Commit

Permalink
add run.bat and change name make.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
daiksy committed Nov 25, 2014
1 parent af6ddb1 commit 5af8bcf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion make.bat → build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ FOR /F "usebackq" %%w IN (`git describe --tags --abbrev^=0`) DO SET VERSION=%%w

set VERSION=%VERSION:v=%

go build -o build/mackerel-agent.exe -ldflags="-X github.com/mackerelio/mackerel-agent/version.GITCOMMIT %COMMIT% -X github.com/mackerelio/mackerel-agent/version.VERSION %VERSION% " github.com/mackerelio/mackerel-agent
echo %VERSION%

go build -o build/mackerel-agent.exe -ldflags="-X github.com/mackerelio/mackerel-agent/version.GITCOMMIT %COMMIT% -X github.com/mackerelio/mackerel-agent/version.VERSION %VERSION% " github.com/mackerelio/mackerel-agent
1 change: 1 addition & 0 deletions run.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
%CD%\build\mackerel-agent.exe -conf=%CD%\mackerel-agent.conf

0 comments on commit 5af8bcf

Please sign in to comment.