create blank/starter README on clean

This commit is contained in:
Heydon Pickering 2017-08-08 19:23:14 +01:00
parent 8dcfc25b52
commit d40229c404
2 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"serve": "hugo server --baseURL http://localhost:1313",
"clean": "rm -rf content && mkdir content && mkdir content/patterns && hugo new patterns/pattern.md && hugo new _index.md && hugo new print-version.md --kind print-version",
"clean": "rm -rf content && mkdir content && mkdir content/patterns && hugo new patterns/pattern.md && hugo new _index.md && hugo new print-version.md --kind print-version && cat themes/infusion/data/README_BLANK.md > README.md",
"build": "rm -rfv docs/* && hugo && sw-precache --root=docs && git add -A"
},
"pre-commit": [

View File

@ -0,0 +1,3 @@
# Your Library's README
Please fill me out!