Skip to content

Commit

Permalink
way to cd in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jyny committed Sep 6, 2019
1 parent 310322c commit 7fdf561
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ build : mod embedded fmt
env GOOS=windows GOARCH=amd64 go build -o ./build/$(WINDOWS) -ldflags="-X $(XPKG).version=$(VERSION)" .

embedded :
@pushd pkg/deployer/ssh > /dev/null && \
go run gen/gen.go \
&& popd > /dev/null
@cd pkg/deployer/ssh; \
go run gen/gen.go; \
cd ../../../

fmt :
gofmt -w ./
Expand Down

0 comments on commit 7fdf561

Please sign in to comment.