Skip to content

Commit

Permalink
buildtar require $(BUILDRESULT), add how to make $(BUILDRESULT) if ne…
Browse files Browse the repository at this point in the history
…cessary

git-svn-id: svn+ssh://scm.fusionforge.org/srv/svn/fusionforge/trunk@10503 9d84d37e-dcb1-4aad-b103-6f3d92f53bf6
  • Loading branch information
cbayle committed Sep 16, 2010
1 parent e719cfd commit 16376c3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,23 @@ check:
#cd tests ; phpunit --verbose unit; phpunit --verbose code;
cd tests ; php AllTests.php

checkfull:
cd tests ; phpunit --verbose build
#cd tests ; php AllFullTests.php

checkdebtools:
sudo apt-get install php5-cli phpunit php-htmlpurifier pcregrep moreutils

buildtar:
buildtar: $(BUILDRESULT)
rm -fr /tmp/$(VERSION)
cd gforge; find . -type f -or -type l | grep -v '/.svn/' | grep -v '^./debian' | grep -v '^./deb-specific' | grep -v '^./rpm-specific' | grep -v '^./contrib' | grep -v '^./fusionforge.spec' | cpio -pdumB --quiet /tmp/$(VERSION)
cd /tmp/$(VERSION); utils/manage-translations.sh build
cd /tmp/; tar jcf $(BUILDRESULT)/$(VERSION).tar.bz2 $(VERSION)
rm -fr /tmp/$(VERSION)

$(BUILDRESULT):
mkdir $(BUILDRESULT)

build-unit-tests:
mkdir -p $(BUILDDIR)/reports/coverage
cd tests; phpunit --log-junit $(BUILDDIR)/reports/phpunit.xml --coverage-clover $(BUILDDIR)/reports/coverage/clover.xml --coverage-html $(BUILDDIR)/reports/coverage/ AllTests.php
Expand Down

0 comments on commit 16376c3

Please sign in to comment.