Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Rav <m@git.strova.dk>2018-01-28 01:08:15 +0300
committerMathias Rav <m@git.strova.dk>2018-01-28 01:08:15 +0300
commit0b427fd430b72390916947a34c1aaf41fe537e12 (patch)
treedabe803f7ea34ec16bbe41454bcf0f1e0ed996e7 /Makefile
parent1f6bed565e1f1c107c8fb8ca50dbf72911bfe4ec (diff)
Add make docker-dist
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5bdeb14d..8c5068a2 100644
--- a/Makefile
+++ b/Makefile
@@ -112,6 +112,18 @@ dist:
make source
make appstore
+# Run make and make dist in a Docker container
+.PHONY: docker-dist
+docker-dist:
+ docker run --rm -it -v $(CURDIR):/tasks -w /tasks node make docker-target
+
+# Command used inside Docker container; do not invoke directly
+.PHONY: docker-target
+docker-target:
+ which rsync zip openssl || (apt-get update && apt-get install -y rsync zip openssl)
+ make
+ make dist
+
# Builds the source package
.PHONY: source
source: