Sfoglia il codice sorgente

create blank/starter README on clean

Heydon Pickering 8 anni fa
parent
commit
d40229c404
2 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 1 1
      package.json
  2. 3 0
      themes/infusion/data/README_BLANK.md

+ 1 - 1
package.json

@@ -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": [

+ 3 - 0
themes/infusion/data/README_BLANK.md

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