1 export PERL5LIB=$(CURDIR)/../../..
2 ikiwiki = $(CURDIR)/../../../ikiwiki.in
7 echo "/doc/.ikiwiki/" > git/.gitignore
9 mkdir -p git/doc/writable
11 cp index.mdwn git/doc/index.mdwn
12 echo "This is the first test page" > git/doc/writable/one.mdwn
13 echo "This is the second test page" > git/doc/writable/two.mdwn
14 cd git && git add doc && git commit -m 'Initial commit'
15 $(ikiwiki) --setup ikiwiki.setup
16 echo "This is the first test page, it was first" > git/doc/writable/one.mdwn
17 cd git && git add doc && git commit -m 'First web commit'
18 $(ikiwiki) --setup ikiwiki.setup
19 echo "This is the second test page, it came second" > git/doc/writable/two.mdwn
20 cd git && git add doc && git commit -m 'Second web commit'
21 $(ikiwiki) --setup ikiwiki.setup
22 cd git && git mv doc/writable/one.mdwn doc/one.mdwn
23 cd git && git mv doc/writable/two.mdwn two.mdwn
24 cd git && git commit -m Rename
25 $(ikiwiki) --setup ikiwiki.setup