Skip to content

Commit

Permalink
mage build copy ctl.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yinheli committed Jun 26, 2021
1 parent 3c9c0ec commit a5db3e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/xservice/gogen/assets/project/magefile.go.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func Build() error {

_ = os.Mkdir(fmt.Sprintf("%s/logs", dir), 0750)
_ = sh.Copy(fmt.Sprintf("%s/README.md", dir), "README.md")
_ = sh.Copy(fmt.Sprintf("%s/ctl.sh", dir), "ctl.sh")
_ = sh.Run("tar", "-czf", fmt.Sprintf("%s.tar.gz", dir), "-C", "dist", filepath.Base(dir))

return nil
Expand Down

0 comments on commit a5db3e2

Please sign in to comment.