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() {
|
runbuild() {
|
||||||
echo -e '------------\nbuilding...'
|
echo -e '------------\nbuilding...'
|
||||||
|
time=$EPOCHREALTIME
|
||||||
mkdir -p output
|
mkdir -p output
|
||||||
for thing in $(find content/); do
|
for thing in $(find content/); do
|
||||||
input=$thing
|
input=$thing
|
||||||
|
@ -24,6 +25,7 @@ runbuild() {
|
||||||
for i in $OUTPATH/blog/20*.html; do
|
for i in $OUTPATH/blog/20*.html; do
|
||||||
touch $i
|
touch $i
|
||||||
done
|
done
|
||||||
|
echo "done in $(bc <<< "scale = 2; ($EPOCHREALTIME - $time)/1")s"
|
||||||
}
|
}
|
||||||
|
|
||||||
runsync() {
|
runsync() {
|
||||||
|
|
Loading…
Reference in a new issue