diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | .PHONY: proto proto-lint proto-breaking test build clean | 1 | .PHONY: proto proto-lint proto-breaking test build clean deploy |
| 2 | 2 | ||
| 3 | # Generate proto files | 3 | # Generate proto files |
| 4 | proto: | 4 | proto: |
| @@ -32,6 +32,9 @@ clean: | |||
| 32 | rm -rf api/ | 32 | rm -rf api/ |
| 33 | rm -f bin/relay | 33 | rm -f bin/relay |
| 34 | 34 | ||
| 35 | deploy: | ||
| 36 | ship --name nostr-grpc --binary ./bin/relay | ||
| 37 | |||
| 35 | # Install buf (if not already installed) | 38 | # Install buf (if not already installed) |
| 36 | install-buf: | 39 | install-buf: |
| 37 | @if ! command -v buf &> /dev/null; then \ | 40 | @if ! command -v buf &> /dev/null; then \ |
