Keyboard layout mappings for modal text editors.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
739 B

PROJECT = laymap
VERSION = $(shell cat version)
FILES = $(shell git ls-files usr/ Makefile)
GITEA_TOKEN = $(shell yq --raw-output .logins[0].token ~/.config/tea/config.yml)
.PHONY: dist upload
.SILENT: upload
dist: $(PROJECT)-v$(VERSION).tar.xz
$(PROJECT)-v$(VERSION).tar.xz: $(FILES)
rm -f $(PROJECT)-v$(VERSION).tar.xz
tar c -f - $(FILES) | xz -9 > $(PROJECT)-v$(VERSION).tar.xz
upload: dist
echo curl \
--upload-file $(PROJECT)-v$(VERSION).tar.xz \$(PROJECT)/$(VERSION)/source.tar.xz
curl \
--upload-file $(PROJECT)-v$(VERSION).tar.xz \