on develop help sign in
gogol/share/library.mk
14 lines 302 B history raw
1SHELL := /usr/bin/env bash
2NAME ?= $(notdir $(CURDIR:a/%=%))
3VERSION ?= $(shell sed -n 's/^version: *\(.*\)$$/\1/p' $(NAME).cabal)
5default:
7sdist:
8 cabal sdist
10upload:
11 cabal upload --publish dist/$(NAME)-$(VERSION).tar.gz || true
13upload-docs:
14 PACKAGE=$(NAME) ../script/hackage-documentation