Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. prod:
  2. packr
  3. mkdir -p build/public
  4. cp -r client/public/* build/public/
  5. minify -o build/public/index.html client/public/index.html
  6. minify -o build/public/app.js client/public/app.js
  7. minify -o build/public/normalize.css client/public/normalize.css
  8. gump patch -m "new release!"
  9. $(eval TAG=$(shell git tag -l --sort -version:refname | head -n 1))
  10. packr build -o build/pm -ldflags "-X main.Version=prod -X main.Tag=$(TAG)"
  11. rm -fr build/public
  12.  
  13. gump patch -m "new release!"
  14. $(eval TAG=$(shell git tag -l --sort -version:refname | head -n 1))
  15. packr build -o build/pm -ldflags "-X main.Version=prod -X main.Tag=$(TAG)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement