summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1b9b4dd
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+# SPDX-FileCopyrightText: 2024 Matthew Fennell <matthew@fennell.dev>
+#
+# SPDX-License-Identifier: AGPL-3.0-only
+
+.PHONY: check lint staging prod
+
+check:
+ make lint
+ make staging
+
+staging:
+ ansible-playbook --inventory inventory/staging.ini playbook.yaml
+
+prod:
+ ansible-playbook --inventory inventory/prod.ini playbook.yaml
+
+lint:
+ precious --ascii lint --all