From ea775b1c823d150ec6179a4f831ac88f86a8309d Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 8 Mar 2010 19:03:46 +0100 Subject: make minimal_snapshot: snapshot with only neccessary files --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 392c6a9a..0d307907 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ DOCDIR = doc/pydoc CWD = $(shell pwd) EDITOR = vim -.PHONY: all clean doc cleandoc edit push test commit install info snapshot +.PHONY: all clean doc cleandoc edit push test commit install info snapshot minimal_snapshot info: @echo 'This makefile provides shortcuts for common tasks.' @@ -56,3 +56,15 @@ commit: test snapshot: git archive HEAD | gzip > $(NAME)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-16).tar.gz + +minimal_snapshot: + @echo 'This is not quite working well. I will abort now' && false + git checkout -b no_help + git rm -rf doc + git rm -rf test + git rm all_tests.py + git rm TODO + git commit -a -m'removed documentation' + git archive HEAD | gzip > $(NAME)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-16).tar.gz + git reset --hard no_help^ + git branch -D no_help -- cgit 1.4.1-2-gfad0 nger/refs/?h=v1.0.1&id=ef0ee84300be230ab5ef417f4a303d07e5b5f0b9'>refs log blame commit diff stats
path: root/TODO
blob: 206f0445667b24a5544689762195134ffa9ce11b (plain) (tree)
1
2
3
4
5
6
7
8