Skip to content

Commit ca8f66b

Browse files
author
Ludo237
committed
Changed makefile in order to deploy correctly
1 parent 0afc132 commit ca8f66b

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

Makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
all: update deploy
22

33
deploy:
4-
rm db.json
5-
rm -f db.json
4+
rm -f db.json
65
hexo generate
76
cp -R ./todomvc public/examples
87
mkdir -p public/unit
98
cp -R ../vue/test/unit/lib/ public/unit/lib
109
cp ../vue/test/unit/index.html public/unit/index.html
11-
cp ../vue/test/unit/specs.js public/unit/specs.js
12-
cp ../vue/test/unit/specs.js.map public/unit/specs.js.map
10+
cp ../vue/test/unit/specs/index.js public/unit/specs.js
1311
hexo deploy
1412

1513
update:
@@ -20,4 +18,4 @@ update:
2018
npm run build-test > /dev/null
2119
cp ../vue/dist/vue.min.js themes/vue/source/js/vue.min.js
2220
cp ../vue/dist/vue.js themes/vue/source/js/vue.js
23-
node update.js
21+
node update.js

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.12.4",
44
"private": true,
55
"hexo": {
6-
"version": "3.1.1"
6+
"version": "3.2.0"
77
},
88
"dependencies": {
99
"hexo": "^3.1.1",
@@ -17,4 +17,4 @@
1717
"hexo-renderer-stylus": "^0.2.0",
1818
"hexo-server": "^0.1.2"
1919
}
20-
}
20+
}

0 commit comments

Comments
 (0)