mirror of
https://github.com/vuejs/vue.git
synced 2024-11-22 04:39:46 +00:00
update build
This commit is contained in:
parent
26b776fa81
commit
1b8ef949a1
@ -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' +
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user