Makefile 489 B

12345678910111213141516171819202122232425262728
  1. .PHONY: init
  2. init:
  3. go install github.com/google/wire/cmd/wire@latest
  4. go install github.com/nicksnyder/go-i18n/v2/goi18n@latest
  5. chmod +x ./deploy/restart.sh
  6. chmod +x ./deploy/shutdown.sh
  7. chmod +x ./deploy/startup.sh
  8. chmod +x ./deploy/status.sh
  9. .PHONY: wire
  10. wire:
  11. cd cmd/wire && wire
  12. .PHONY: restart
  13. restart:
  14. sh ./deploy/restart.sh
  15. .PHONY: shutdown
  16. shutdown:
  17. sh ./deploy/shutdown.sh
  18. .PHONY: startup
  19. startup:
  20. sh ./deploy/startup.sh
  21. .PHONY: status
  22. status:
  23. sh ./deploy/status.sh