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 diff --git a/Spoons/ShiftIt.spoon.zip b/Spoons/ShiftIt.spoon.zip index 816a3de..473d44f 100644 Binary files a/Spoons/ShiftIt.spoon.zip and b/Spoons/ShiftIt.spoon.zip differ diff --git a/init.lua b/init.lua index 8f4ec36..5809158 100644 --- a/init.lua +++ b/init.lua @@ -14,7 +14,7 @@ obj.name = "HammerspoonShiftIt" obj.version = "1.0" obj.author = "Peter Klijn" obj.homepage = "https://github.com/peterklijn/hammerspoon-shiftit" -obj.license = "" +obj.license = "https://github.com/peterklijn/hammerspoon-shiftit/blob/master/LICENSE.md" obj.mash = { 'ctrl', 'alt', 'cmd' } obj.mapping = {