forked from lix-project/hydra
This commit is contained in:
parent
faf128a55b
commit
11b6f9cf35
1 changed files with 5 additions and 5 deletions
|
@ -18,29 +18,29 @@ clean :
|
||||||
chmod -R a+w nix
|
chmod -R a+w nix
|
||||||
rm -rf db.sqlite data nix git-repo hg-repo svn-repo svn-checkout
|
rm -rf db.sqlite data nix git-repo hg-repo svn-repo svn-checkout
|
||||||
|
|
||||||
$(TESTS) : clean db.sqlite dirs
|
$(TESTS) : db.sqlite dirs
|
||||||
|
|
||||||
db.sqlite : $(top_srcdir)/src/sql/hydra-sqlite.sql
|
db.sqlite : $(top_srcdir)/src/sql/hydra-sqlite.sql
|
||||||
sqlite3 db.sqlite < $(top_srcdir)/src/sql/hydra-sqlite.sql
|
sqlite3 db.sqlite < $(top_srcdir)/src/sql/hydra-sqlite.sql
|
||||||
|
|
||||||
dirs :
|
dirs : git-repo hg-repo svn-repo
|
||||||
mkdir -p data
|
mkdir -p data
|
||||||
touch data/hydra.conf
|
touch data/hydra.conf
|
||||||
mkdir -p nix
|
mkdir -p nix
|
||||||
mkdir -p nix/store
|
mkdir -p nix/store
|
||||||
mkdir -p nix/var
|
mkdir -p nix/var
|
||||||
|
|
||||||
git-repo:
|
git-repo :
|
||||||
git init git-repo
|
git init git-repo
|
||||||
touch git-repo/git-file
|
touch git-repo/git-file
|
||||||
(cd git-repo; git add git-file ; git commit -m "add git file" git-file)
|
(cd git-repo; git add git-file ; git commit -m "add git file" git-file)
|
||||||
|
|
||||||
hg-repo:
|
hg-repo :
|
||||||
hg init hg-repo
|
hg init hg-repo
|
||||||
touch hg-repo/hg-file
|
touch hg-repo/hg-file
|
||||||
(cd hg-repo; hg add hg-file ; hg commit -m "add hg file" hg-file)
|
(cd hg-repo; hg add hg-file ; hg commit -m "add hg file" hg-file)
|
||||||
|
|
||||||
svn-repo:
|
svn-repo :
|
||||||
svnadmin create svn-repo
|
svnadmin create svn-repo
|
||||||
svn co file://$(TESTDIR)/svn-repo svn-checkout
|
svn co file://$(TESTDIR)/svn-repo svn-checkout
|
||||||
touch svn-checkout/svn-file
|
touch svn-checkout/svn-file
|
||||||
|
|
Loading…
Reference in a new issue