From 6b6cdfb1592ea3b6d3e656ac793256808c8cfb6c Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 24 Mar 2022 12:12:16 +0100 Subject: [PATCH] Makefile: build gitsrht-* Go programs --- .gitignore | 1 + Makefile | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d9b6e0d..9e73111 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ overrides/ .pgp build *_gen.go +api/api diff --git a/Makefile b/Makefile index a4a7f73..47d52fb 100644 --- a/Makefile +++ b/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 -- 2.38.4