Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 26, 2016
1 parent 26b776f commit 1b8ef94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions build/build.js
Original file line number Diff line number Diff line change
@@ -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')
Expand All @@ -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' +
Expand Down
3 changes: 2 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1b8ef94

Please sign in to comment.