Skip to content

Commit

Permalink
Makefile: Add zip target
Browse files Browse the repository at this point in the history
This builds a zip for release that can be installed by Blender.
  • Loading branch information
Moguri committed Oct 25, 2017
1 parent d5b58ed commit fa1e74c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.PHONEY: lint, lint_templates, todos

# TODO build this from bl_info['version']
ver_str := v0.2.0

lint:
pylint *.py

Expand All @@ -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
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pylint
git_archive_all
--extra-index-url https://archive.panda3d.org/branches/master
panda3d

0 comments on commit fa1e74c

Please sign in to comment.