Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

Commit

Permalink
Makefile: do not use rm on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gbbr committed Feb 22, 2018
1 parent d6c6819 commit c448479
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ci: deps
golint ./cmd/trace-agent ./filters ./fixtures ./info ./quantile ./quantizer ./sampler ./statsd ./watchdog ./writer
go test ./...

windows: clean-windows
windows:
# pre-packages resources needed for the windows release
windmc --target pe-x86-64 -r cmd/trace-agent/windows_resources cmd/trace-agent/windows_resources/trace-agent-msg.mc
windres --define MAJ_VER=$(VERSION_MAJOR) --define MIN_VER=$(VERSION_MINOR) --define PATCH_VER=$(VERSION_PATCH) -i cmd/trace-agent/windows_resources/trace-agent.rc --target=pe-x86-64 -O coff -o cmd/trace-agent/rsrc.syso
Expand All @@ -47,8 +47,5 @@ clean: clean-deps clean-install clean-windows
clean-deps:
rm -rf vendor

clean-windows:
rm -f ./cmd/trace-agent/windows_resources/*.bin ./cmd/trace-agent/windows_resources/trace-agent-msg.rc

clean-install:
rm -f ./info/git_version.go

0 comments on commit c448479

Please sign in to comment.