summaryrefslogtreecommitdiffhomepage
path: root/services/repos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'services/repos/Makefile')
-rw-r--r--services/repos/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/services/repos/Makefile b/services/repos/Makefile
new file mode 100644
index 00000000..3e684a6d
--- /dev/null
+++ b/services/repos/Makefile
@@ -0,0 +1,30 @@
+.PHONY: all
+all: deploy
+
+.PHONY: deploy
+deploy: clean build serve
+
+.PHONY: build
+build:
+ docker compose build
+ make clone-repos fetch-repos
+
+.PHONY: serve
+serve:
+ docker compose up -d
+
+.PHONY: clean
+clean:
+ docker compose down
+
+.PHONY: make-repo-list
+make-repo-list:
+ scripts/make-repo-list.sh
+
+.PHONY: clone-repos
+clone-repos:
+ scripts/clone-repos.sh
+
+.PHONY: fetch-repos
+fetch-repos:
+ scripts/fetch-repos.sh