added localrelease annd minify commands to Makefile.
This commit is contained in:
parent
d57cb575fc
commit
7e01dbbf83
1 changed files with 9 additions and 2 deletions
11
Makefile
11
Makefile
|
|
@ -22,11 +22,18 @@ local:
|
|||
make build
|
||||
mkdir -p ./_site/.well-known/
|
||||
|
||||
release:
|
||||
make build
|
||||
localrelease:
|
||||
make local
|
||||
make minify
|
||||
|
||||
minify:
|
||||
find ./_site -name "*.html" -exec minify --html-keep-document-tags --html-keep-end-tags -o {} {} \;
|
||||
find ./_site -name "*.css" -exec minify --css-precision 0 -o {} {} \;
|
||||
find ./_site -name "*.xml" -exec minify -o {} {} \;
|
||||
|
||||
release:
|
||||
make build
|
||||
make minify
|
||||
make sync
|
||||
|
||||
releaseraw:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue