Makefile 556 B

123456789101112131415161718
  1. pack: pack.template-single pack.template-mono
  2. pack.template-single:
  3. @rm -fr temp
  4. @mkdir temp || exit 0
  5. @cd temp && git clone https://github.com/gogf/template-single
  6. @rm -fr temp/template-single/.git
  7. @cd temp && gf pack template-single ../internal/packed/template-single.go -n=packed -y
  8. @rm -fr temp
  9. pack.template-mono:
  10. @rm -fr temp
  11. @mkdir temp || exit 0
  12. @cd temp && git clone https://github.com/gogf/template-mono
  13. @rm -fr temp/template-mono/.git
  14. @cd temp && gf pack template-mono ../internal/packed/template-mono.go -n=packed -y
  15. @rm -fr temp