update build

This commit is contained in:
Evan You 2016-04-26 13:01:13 -04:00
parent 26b776fa81
commit 1b8ef949a1
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,5 @@
var fs = require('fs')
var path = require('path')
var zlib = require('zlib')
var rollup = require('rollup')
var uglify = require('uglify-js')
@ -8,6 +9,10 @@ var aliasPlugin = require('rollup-plugin-alias')
var baseAlias = require('./alias')
var version = process.env.VERSION || require('../package.json').version
if (!fs.existsSync('dist')) {
fs.mkdirSync('dist')
}
var banner =
'/*!\n' +
' * Vue.js v' + version + '\n' +

View File

@ -5,9 +5,10 @@ machine:
general:
branches:
only:
- master
- next
test:
override:
- npm run lint
- npm run test:cover # only run unit tests in Phantom for now before we setup SauceLabs
- npm run test:ssr