File: devl.sh

package info (click to toggle)
gcli 2.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,476 kB
  • sloc: ansic: 25,411; sh: 580; makefile: 509; yacc: 261; lex: 59
file content (15 lines) | stat: -rwxr-xr-x 297 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

cd $(dirname $0)

find . -type f -a \( \
		-name \*.md -o \( \
			-name \*.html -a \
			\! -path ./tutorial/index.html -a \
			\! -path ./tutorial/0\*.html \
		\) \
		-o -name toc \
		-o -name top.html \
		-o -name footer.html \
	\) \
| entr -rs "echo 'Regenerating ...' && ./serve.sh"