script for testing html in chrome

master
Ondřej Hruška 9 years ago
parent e3b96fd2f9
commit 3d8ebb9ed8
  1. 2
      .gitignore
  2. 10
      htmlpreview.sh
  3. 4
      htmlserver.sh

2
.gitignore vendored

@ -9,3 +9,5 @@ espfs/espfstest/espfstest
html_compressed/ html_compressed/
ldscript_memspecific.ld ldscript_memspecific.ld
eagle.app.sym eagle.app.sym
html_preview/

@ -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…
Cancel
Save