add timer to build
This commit is contained in:
parent
44e2bea80f
commit
98b731a0d0
1 changed files with 2 additions and 0 deletions
2
doit
2
doit
|
@ -8,6 +8,7 @@ SERVPATH="CUSTOMIZE THIS"
|
|||
|
||||
runbuild() {
|
||||
echo -e '------------\nbuilding...'
|
||||
time=$EPOCHREALTIME
|
||||
mkdir -p output
|
||||
for thing in $(find content/); do
|
||||
input=$thing
|
||||
|
@ -24,6 +25,7 @@ runbuild() {
|
|||
for i in $OUTPATH/blog/20*.html; do
|
||||
touch $i
|
||||
done
|
||||
echo "done in $(bc <<< "scale = 2; ($EPOCHREALTIME - $time)/1")s"
|
||||
}
|
||||
|
||||
runsync() {
|
||||
|
|
Loading…
Reference in a new issue