File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ deploy: all
8
8
hexo deploy
9
9
10
10
update :
11
- cd ../vue && git checkout master && grunt build && grunt instrument
12
- cp ../vue/dist/vue.min.js themes/vue/source/js/vue.min.js
13
- cp ../vue/dist/vue.min.js perf/todomvc-benchmark/todomvc/vue/bower_components/vue/vue.min.js
11
+ cd ../vue-0.10 && git checkout master && grunt build && grunt instrument
12
+ cp ../vue-0.10 /dist/vue.min.js themes/vue/source/js/vue.min.js
13
+ cp ../vue-0.10 /dist/vue.min.js perf/todomvc-benchmark/todomvc/vue/bower_components/vue/vue.min.js
14
14
node update.js
Original file line number Diff line number Diff line change 1
1
var fs = require ( 'fs' ) ,
2
- version = require ( '../vue/component.json' ) . version ,
2
+ version = require ( '../vue-0.10 /component.json' ) . version ,
3
3
themeconfPath = 'themes/vue/_config.yml' ,
4
4
installPath = 'source/guide/installation.md' ,
5
5
themeconfig = fs . readFileSync ( themeconfPath , 'utf-8' ) ,
@@ -17,7 +17,7 @@ var sizes = {
17
17
}
18
18
19
19
for ( var file in sizes ) {
20
- var filesize = fs . statSync ( '../vue/dist/' + sizes [ file ] , 'utf-8' ) . size
20
+ var filesize = fs . statSync ( '../vue-0.10 /dist/' + sizes [ file ] , 'utf-8' ) . size
21
21
sizes [ file ] = ( filesize / 1024 ) . toFixed ( 2 )
22
22
}
23
23
You can’t perform that action at this time.
0 commit comments