parent
e3b96fd2f9
commit
3d8ebb9ed8
@ -0,0 +1,10 @@ |
|||||||
|
#!/bin/bash |
||||||
|
|
||||||
|
rm -rf html_preview |
||||||
|
|
||||||
|
cp -rs "$PWD/html" "$PWD/html_preview/" |
||||||
|
|
||||||
|
for file in $(find html_preview/ -name "*.tpl") |
||||||
|
do |
||||||
|
mv $file `echo $file | sed s/.tpl$/.html/` |
||||||
|
done |
@ -0,0 +1,4 @@ |
|||||||
|
#!/bin/bash |
||||||
|
|
||||||
|
php -S localhost:8266 -t html_preview |
||||||
|
|
Loading…
Reference in new issue