From fa1e74c664319ef7aef6d71877e4a25a925c4f34 Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Tue, 24 Oct 2017 20:11:47 -0700 Subject: [PATCH] Makefile: Add zip target This builds a zip for release that can be installed by Blender. --- Makefile | 6 ++++++ requirements.txt | 1 + 2 files changed, 7 insertions(+) diff --git a/Makefile b/Makefile index a6ba690..d14e594 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ .PHONEY: lint, lint_templates, todos +# TODO build this from bl_info['version'] +ver_str := v0.2.0 + lint: pylint *.py @@ -8,3 +11,6 @@ lint_templates: todos: pylint -d all -e fixme *.py + +zip: + git-archive-all --force-submodules --prefix BlenderPanda BlenderPanda-$(ver_str).zip diff --git a/requirements.txt b/requirements.txt index 2524dff..9bf70cd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ pylint +git_archive_all --extra-index-url https://archive.panda3d.org/branches/master panda3d