diff options
author | James Shubin <james@shubin.ca> | 2014-10-10 14:49:44 -0400 |
---|---|---|
committer | James Shubin <james@shubin.ca> | 2014-10-10 14:49:44 -0400 |
commit | f24cca2ac8d138aae71c019a9bf6f311395f562d (patch) | |
tree | 0f4512fdba461839588626d792be0ee08bb7d06e /Makefile | |
parent | 6c962083d8b100dcaeb6f11dbe61e6071f3d13f0 (diff) | |
download | puppet-gluster-f24cca2ac8d138aae71c019a9bf6f311395f562d.tar.gz puppet-gluster-f24cca2ac8d138aae71c019a9bf6f311395f562d.tar.xz puppet-gluster-f24cca2ac8d138aae71c019a9bf6f311395f562d.zip |
Infra update for puppet-gluster...
w00t, c-i, and automatic pushing.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -15,11 +15,11 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -.PHONY: all docs rpm srpm spec tar upload upload-sources upload-srpms upload-rpms +.PHONY: all push docs test rpm srpm spec tar upload upload-sources upload-srpms upload-rpms .SILENT: # version of the program -VERSION := $(shell cat VERSION) +VERSION := $(shell gjs -c "print(`cat metadata.json`['version'])") RELEASE = 1 SPEC = rpmbuild/SPECS/puppet-gluster.spec SOURCE = rpmbuild/SOURCES/puppet-gluster-$(VERSION).tar.bz2 @@ -30,11 +30,20 @@ REMOTE_PATH = 'purpleidea/puppet-gluster' all: docs rpm +push: + # use blacksmith to push module to forge + git checkout master && rake module:push + docs: puppet-gluster-documentation.pdf puppet-gluster-documentation.pdf: DOCUMENTATION.md pandoc DOCUMENTATION.md -o 'puppet-gluster-documentation.pdf' +test: + # TODO: avoid exiting with non-zero when there are only warnings? + #rake syntax + rake test + # # aliases # |