From 3170832558ad79e8bfdd00be58fcd94366941d1f Mon Sep 17 00:00:00 2001 From: Peter Klijn Date: Sun, 11 Sep 2022 13:35:24 +0200 Subject: [PATCH] Added 'package' make command to build the ShiftIt.spoon folder and zip it --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 74efea2..6c086d9 100644 --- a/Makefile +++ b/Makefile @@ -10,4 +10,11 @@ ci-lint: ci-test: docker-compose -f .docker/docker-compose.ci.yaml run hammerspoon-shiftit-ci make test -.PHONY: ci-init ci-lint +package: + rm -rf Spoons + mkdir -p Spoons/ShiftIt.spoon + cp init.lua Spoons/ShiftIt.spoon/init.lua + (cd Spoons && zip -r ShiftIt.spoon.zip ShiftIt.spoon) + rm -r Spoons/ShiftIt.spoon + +.PHONY: ci-init ci-lint ci-test package