mirror of https://git.sr.ht/~sircmpwn/git.sr.ht
Makefile: build gitsrht-* Go programs
This commit is contained in:
parent
4439008384
commit
6b6cdfb159
|
@ -15,3 +15,4 @@ overrides/
|
|||
.pgp
|
||||
build
|
||||
*_gen.go
|
||||
api/api
|
||||
|
|
16
Makefile
16
Makefile
|
@ -2,11 +2,23 @@ SRHT_PATH?=/usr/lib/python3.8/site-packages/srht
|
|||
MODULE=gitsrht/
|
||||
include ${SRHT_PATH}/Makefile
|
||||
|
||||
all: api
|
||||
all: api gitsrht-dispatch gitsrht-keys gitsrht-shell gitsrht-update-hook
|
||||
|
||||
api:
|
||||
cd api && go generate ./loaders
|
||||
cd api && go generate ./graph
|
||||
cd api && go build
|
||||
|
||||
.PHONY: all api
|
||||
gitsrht-dispatch:
|
||||
cd gitsrht-dispatch && go build
|
||||
|
||||
gitsrht-keys:
|
||||
cd gitsrht-keys && go build
|
||||
|
||||
gitsrht-shell:
|
||||
cd gitsrht-shell && go build
|
||||
|
||||
gitsrht-update-hook:
|
||||
cd gitsrht-update-hook && go build
|
||||
|
||||
.PHONY: all api gitsrht-dispatch gitsrht-keys gitsrht-shell gitsrht-update-hook
|
||||
|
|
Loading…
Reference in New Issue