Skip to content

Commit

Permalink
Added signing mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Spiess-Knafl committed Aug 27, 2017
1 parent 9423c69 commit d21e9cb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ src/examples/gen/*

# IntelliJ
.idea

*.tar.gz
*.asc
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This file is only used for development for convinience functions as
# quick builds and tests

GIT_VERSION := $(shell git describe --abbrev=4 --dirty --always --tags)
.PHONY: build

build:
Expand All @@ -20,6 +21,12 @@ format:
check-format: format
git diff --exit-code

tarball:
git archive --format=tar.gz --prefix=libjson-rpc-cpp-$(GIT_VERSION)/ -o libjson-rpc-cpp-$(GIT_VERSION).tar.gz HEAD

signed-taball: tarball
gpg --armor --detach-sign libjson-rpc-cpp-$(GIT_VERSION).tar.gz

test: build
cd build && ./bin/unit_testsuite

Expand Down

0 comments on commit d21e9cb

Please sign in to comment.