Skip to content

Commit

Permalink
Extract variables in Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
moll committed Mar 3, 2018
1 parent 10f94cc commit 045d6e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
NAME := bbye
VERSION := 1.0.1
ID := 4664

love:
@echo "Feel like makin' love."

pack:
zip -r "vim-bbye-$(VERSION).zip" * --exclude Makefile --exclude "*.zip"
zip -r "$(NAME)-$(VERSION).zip" * --exclude Makefile --exclude "*.zip"

publish:
open "http://www.vim.org/scripts/add_script_version.php?script_id=4664"
open "http://www.vim.org/scripts/add_script_version.php?script_id=$(ID)"

tag:
git tag "v$(VERSION)"
Expand Down

0 comments on commit 045d6e4

Please sign in to comment.