ソースを参照

add image dir to git

jomo 9 年 前
コミット
47a978df6c
7 ファイル変更2 行追加2 行削除
  1. 1 1
      .gitignore
  2. 0 0
      images/capes/.gitkeep
  3. 0 0
      images/faces/.gitkeep
  4. 0 0
      images/helms/.gitkeep
  5. 0 0
      images/renders/.gitkeep
  6. 0 0
      images/skins/.gitkeep
  7. 1 1
      package.json

+ 1 - 1
.gitignore

@@ -1,4 +1,4 @@
-images/
+images/*/*.png
 node_modules/
 coverage/
 .DS_Store

+ 0 - 0
images/capes/.gitkeep


+ 0 - 0
images/faces/.gitkeep


+ 0 - 0
images/helms/.gitkeep


+ 0 - 0
images/renders/.gitkeep


+ 0 - 0
images/skins/.gitkeep


+ 1 - 1
package.json

@@ -21,7 +21,7 @@
     "avatar"
   ],
   "scripts": {
-    "postinstall": "mkdir -pv images/{faces,helms,skins,renders,capes} && cp 'config.example.js' 'config.js'",
+    "postinstall": "cp 'config.example.js' 'config.js'",
     "start": "node www.js",
     "test": "mocha",
     "test-travis": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"