Skip to content
Browse files

Introduced a clean script and removed generated PHP files from `.giti…

…gnore`

re #692
  • Loading branch information...
1 parent 51f6b1a commit 91701daa37cb0567405c31533f4aa20126b6d2da @hijarian hijarian committed Oct 18, 2013
Showing with 10 additions and 2 deletions.
  1. +0 −2 .gitignore
  2. +2 −0 src/userdoc/build.sh
  3. +8 −0 src/userdoc/clean.sh
View
2 .gitignore
@@ -37,5 +37,3 @@ switch
/composer*
/vendor*
-# Generated documentation PHP scripts
-/src/userdoc/*/*.php
View
2 src/userdoc/build.sh
@@ -1,3 +1,5 @@
+# This will convert all XML documentation to PHP views which can be pasted to documentation website.
+# This file is my (hijarian) system-bounded, so you need to change path to Saxon jar file yourself.
for path in ./*
do
dir=`basename $path`
View
8 src/userdoc/clean.sh
@@ -0,0 +1,8 @@
+# It will erase all PHP scripts generated by `build.sh`
+for path in ./*
+do
+ dir=`basename $path`
+ if [ -d $dir ]
+ then rm $dir/$dir.php
+ fi
+done

0 comments on commit 91701da

Please sign in to comment.
Something went wrong with that request. Please try again.