2013-01-12 10:02:20 +03:00
|
|
|
module.exports = function(grunt) {
|
2015-03-12 20:23:47 +02:00
|
|
|
var pkg, version, verParts, license, licenseNoVtt;
|
2013-01-12 10:02:20 +03:00
|
|
|
|
2013-05-04 09:05:33 +03:00
|
|
|
pkg = grunt.file.readJSON('package.json');
|
|
|
|
|
|
|
|
verParts = pkg.version.split('.');
|
|
|
|
version = {
|
|
|
|
full: pkg.version,
|
|
|
|
major: verParts[0],
|
|
|
|
minor: verParts[1],
|
|
|
|
patch: verParts[2]
|
|
|
|
};
|
|
|
|
version.majorMinor = version.major + '.' + version.minor;
|
2015-02-26 02:00:09 +02:00
|
|
|
grunt.vjsVersion = version;
|
2013-04-22 08:44:36 +03:00
|
|
|
|
2015-03-12 20:23:47 +02:00
|
|
|
licenseNoVtt = '/**\n'+
|
|
|
|
' * @license\n'+
|
|
|
|
' * Video.js '+version.full+' <http://videojs.com/>\n'+
|
|
|
|
' * <%= pkg.copyright %>\n'+
|
|
|
|
' * Available under Apache License Version 2.0\n'+
|
|
|
|
' * <https://github.com/videojs/video.js/blob/master/LICENSE>\n'+
|
|
|
|
' */\n';
|
|
|
|
|
|
|
|
license = licenseNoVtt.slice(0, -4) +
|
|
|
|
' * \n'+
|
|
|
|
' * Includes vtt.js <https://github.com/mozilla/vtt.js>\n'+
|
|
|
|
' * Available under Apache License Version 2.0\n'+
|
|
|
|
' * <https://github.com/mozilla/vtt.js/blob/master/LICENSE>\n'+
|
|
|
|
' */\n';
|
|
|
|
|
2013-10-29 04:25:28 +03:00
|
|
|
// loading predefined source order from source-loader.js
|
|
|
|
// trust me, this is the easist way to do it so far
|
|
|
|
/*jshint undef:false, evil:true */
|
|
|
|
var blockSourceLoading = true;
|
|
|
|
var sourceFiles; // Needed to satisfy jshint
|
|
|
|
eval(grunt.file.read('./build/source-loader.js'));
|
|
|
|
|
2015-02-26 02:00:09 +02:00
|
|
|
grunt.sourceFiles = sourceFiles;
|
|
|
|
|
2013-01-12 10:02:20 +03:00
|
|
|
// Project configuration.
|
|
|
|
grunt.initConfig({
|
2013-04-22 08:44:36 +03:00
|
|
|
pkg: pkg,
|
2013-01-13 09:23:22 +03:00
|
|
|
build: {
|
2013-02-23 06:26:58 +03:00
|
|
|
src: 'src/js/dependencies.js',
|
|
|
|
options: {
|
|
|
|
baseDir: 'src/js/'
|
|
|
|
}
|
|
|
|
},
|
2013-01-26 02:22:14 +03:00
|
|
|
clean: {
|
|
|
|
build: ['build/files/*'],
|
|
|
|
dist: ['dist/*']
|
2013-01-12 10:02:20 +03:00
|
|
|
},
|
|
|
|
jshint: {
|
2013-01-13 09:23:22 +03:00
|
|
|
src: {
|
2014-12-04 22:38:20 +02:00
|
|
|
src: ['src/js/**/*.js', 'Gruntfile.js', 'test/unit/**/*.js'],
|
2013-01-12 10:02:20 +03:00
|
|
|
options: {
|
2013-02-09 01:08:31 +03:00
|
|
|
jshintrc: '.jshintrc'
|
2013-01-12 10:02:20 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2015-03-12 20:23:47 +02:00
|
|
|
uglify: {
|
|
|
|
options: {
|
|
|
|
sourceMap: true,
|
|
|
|
preserveComments: 'some',
|
|
|
|
mangle: true,
|
|
|
|
compress: {
|
|
|
|
sequences: true,
|
|
|
|
dead_code: true,
|
|
|
|
conditionals: true,
|
|
|
|
booleans: true,
|
|
|
|
unused: true,
|
|
|
|
if_return: true,
|
|
|
|
join_vars: true,
|
|
|
|
drop_console: true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
source: {
|
|
|
|
files: {
|
|
|
|
'build/files/minified.video.js': 'build/files/combined.video.js',
|
|
|
|
'build/files/minified.video.novtt.js': 'build/files/combined.video.novtt.js'
|
|
|
|
}
|
2013-01-13 09:23:22 +03:00
|
|
|
},
|
2013-01-26 02:22:14 +03:00
|
|
|
tests: {
|
2015-03-12 20:23:47 +02:00
|
|
|
files: {
|
|
|
|
'build/files/test.minified.video.js': ['build/files/combined.video.js', 'test/unit/*.js']
|
|
|
|
}
|
2013-01-13 09:23:22 +03:00
|
|
|
}
|
|
|
|
},
|
2013-01-26 02:22:14 +03:00
|
|
|
dist: {},
|
2013-01-12 10:02:20 +03:00
|
|
|
qunit: {
|
2013-01-26 02:22:14 +03:00
|
|
|
source: ['test/index.html'],
|
2013-03-05 23:39:43 +03:00
|
|
|
minified: ['test/minified.html'],
|
2015-03-11 03:01:11 +02:00
|
|
|
minified_api: ['test/minified-api.html'],
|
|
|
|
es6: ['test/es6.html']
|
2013-01-12 10:02:20 +03:00
|
|
|
},
|
|
|
|
watch: {
|
2013-07-20 06:18:39 +03:00
|
|
|
files: [ 'src/**/*', 'test/unit/*.js', 'Gruntfile.js' ],
|
2013-02-09 01:08:31 +03:00
|
|
|
tasks: 'dev'
|
2013-05-04 09:05:33 +03:00
|
|
|
},
|
2014-03-26 01:22:29 +03:00
|
|
|
connect: {
|
|
|
|
dev: {
|
|
|
|
options: {
|
|
|
|
port: 9999,
|
|
|
|
keepalive: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2013-05-04 09:05:33 +03:00
|
|
|
copy: {
|
|
|
|
minor: {
|
|
|
|
files: [
|
|
|
|
{expand: true, cwd: 'build/files/', src: ['*'], dest: 'dist/'+version.majorMinor+'/', filter: 'isFile'} // includes files in path
|
|
|
|
]
|
|
|
|
},
|
|
|
|
patch: {
|
|
|
|
files: [
|
|
|
|
{expand: true, cwd: 'build/files/', src: ['*'], dest: 'dist/'+version.full+'/', filter: 'isFile'} // includes files in path
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2015-02-27 03:55:30 +02:00
|
|
|
aws_s3: {
|
2015-02-18 03:04:42 +02:00
|
|
|
options: {
|
2015-02-27 03:55:30 +02:00
|
|
|
accessKeyId: process.env.VJS_S3_KEY,
|
|
|
|
secretAccessKey: process.env.VJS_S3_SECRET,
|
2015-02-18 03:04:42 +02:00
|
|
|
bucket: process.env.VJS_S3_BUCKET,
|
2015-02-27 03:55:30 +02:00
|
|
|
access: 'public-read',
|
|
|
|
uploadConcurrency: 5
|
2015-02-18 03:04:42 +02:00
|
|
|
},
|
2015-02-27 03:55:30 +02:00
|
|
|
patch: {
|
|
|
|
files: [
|
2013-05-04 09:05:33 +03:00
|
|
|
{
|
2015-02-27 03:55:30 +02:00
|
|
|
expand: true,
|
|
|
|
cwd: 'dist/cdn/',
|
|
|
|
src: ['**'],
|
|
|
|
dest: 'vjs/'+version.full+'/',
|
|
|
|
params: { CacheControl: 'public, max-age=31536000' }
|
2013-05-23 23:10:29 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2015-02-27 03:55:30 +02:00
|
|
|
minor: {
|
|
|
|
files: [
|
2013-05-09 08:30:52 +03:00
|
|
|
{
|
2015-02-27 03:55:30 +02:00
|
|
|
expand: true,
|
|
|
|
cwd: 'dist/cdn/',
|
|
|
|
src: ['**'],
|
|
|
|
dest: 'vjs/'+version.majorMinor+'/',
|
|
|
|
params: { CacheControl: 'public, max-age=2628000' }
|
2013-05-04 09:05:33 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2013-05-23 23:10:29 +03:00
|
|
|
},
|
2015-02-26 02:00:09 +02:00
|
|
|
fastly: {
|
|
|
|
options: {
|
|
|
|
key: process.env.VJS_FASTLY_API_KEY
|
|
|
|
},
|
|
|
|
minor: {
|
|
|
|
options: {
|
|
|
|
host: 'vjs.zencdn.net',
|
|
|
|
urls: [
|
|
|
|
version.majorMinor+'/*'
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
patch: {
|
|
|
|
options: {
|
|
|
|
host: 'vjs.zencdn.net',
|
|
|
|
urls: [
|
|
|
|
version.full+'/*'
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2013-05-23 23:10:29 +03:00
|
|
|
cssmin: {
|
|
|
|
minify: {
|
|
|
|
expand: true,
|
|
|
|
cwd: 'build/files/',
|
|
|
|
src: ['video-js.css'],
|
|
|
|
dest: 'build/files/',
|
|
|
|
ext: '.min.css'
|
|
|
|
}
|
2013-07-20 06:18:39 +03:00
|
|
|
},
|
|
|
|
less: {
|
|
|
|
dev: {
|
|
|
|
files: {
|
|
|
|
'build/files/video-js.css': 'src/css/video-js.less'
|
|
|
|
}
|
|
|
|
}
|
2013-09-19 19:24:06 +03:00
|
|
|
},
|
|
|
|
karma: {
|
2014-05-17 00:48:05 +03:00
|
|
|
// this config file applies to all following configs except if overwritten
|
2013-09-19 19:24:06 +03:00
|
|
|
options: {
|
|
|
|
configFile: 'test/karma.conf.js'
|
|
|
|
},
|
2014-05-17 00:48:05 +03:00
|
|
|
|
|
|
|
// this only runs on PRs from the mainrepo on saucelabs
|
|
|
|
saucelabs: {
|
2014-05-19 23:59:12 +03:00
|
|
|
browsers: ['chrome_sl']
|
2014-05-17 00:48:05 +03:00
|
|
|
},
|
2014-07-08 21:46:02 +03:00
|
|
|
chrome_sl: {
|
|
|
|
browsers: ['chrome_sl']
|
|
|
|
},
|
|
|
|
firefox_sl: {
|
|
|
|
browsers: ['firefox_sl']
|
|
|
|
},
|
|
|
|
safari_sl: {
|
|
|
|
browsers: ['safari_sl']
|
|
|
|
},
|
|
|
|
ipad_sl: {
|
|
|
|
browsers: ['ipad_sl']
|
|
|
|
},
|
|
|
|
android_sl: {
|
|
|
|
browsers: ['android_sl']
|
|
|
|
},
|
|
|
|
ie_sl: {
|
|
|
|
browsers: ['ie_sl']
|
|
|
|
},
|
2014-05-17 00:48:05 +03:00
|
|
|
|
|
|
|
// these are run locally on local browsers
|
2013-09-19 19:24:06 +03:00
|
|
|
dev: {
|
2014-05-17 00:48:05 +03:00
|
|
|
browsers: ['Chrome', 'Firefox', 'Safari']
|
|
|
|
},
|
|
|
|
chromecanary: {
|
|
|
|
browsers: ['ChromeCanary']
|
|
|
|
},
|
|
|
|
chrome: {
|
|
|
|
browsers: ['Chrome']
|
|
|
|
},
|
|
|
|
firefox: {
|
|
|
|
browsers: ['Firefox']
|
|
|
|
},
|
|
|
|
safari: {
|
|
|
|
browsers: ['Safari']
|
|
|
|
},
|
|
|
|
ie: {
|
|
|
|
browsers: ['IE']
|
|
|
|
},
|
|
|
|
phantomjs: {
|
|
|
|
browsers: ['PhantomJS']
|
|
|
|
},
|
|
|
|
|
|
|
|
// This is all the minified tests run locally on local browsers
|
|
|
|
minified_dev: {
|
|
|
|
browsers: ['Chrome', 'Firefox', 'Safari'],
|
|
|
|
configFile: 'test/karma.minified.conf.js'
|
|
|
|
},
|
|
|
|
minified_chromecanary: {
|
|
|
|
browsers: ['ChromeCanary'],
|
|
|
|
configFile: 'test/karma.minified.conf.js'
|
|
|
|
},
|
|
|
|
minified_chrome: {
|
|
|
|
browsers: ['Chrome'],
|
|
|
|
configFile: 'test/karma.minified.conf.js'
|
|
|
|
},
|
|
|
|
minified_firefox: {
|
|
|
|
browsers: ['Firefox'],
|
|
|
|
configFile: 'test/karma.minified.conf.js'
|
|
|
|
},
|
|
|
|
minified_safari: {
|
|
|
|
browsers: ['Safari'],
|
|
|
|
configFile: 'test/karma.minified.conf.js'
|
|
|
|
},
|
|
|
|
minified_ie: {
|
|
|
|
browsers: ['IE'],
|
|
|
|
configFile: 'test/karma.minified.conf.js'
|
|
|
|
},
|
|
|
|
minified_phantomjs: {
|
|
|
|
browsers: ['PhantomJS'],
|
|
|
|
configFile: 'test/karma.minified.conf.js'
|
|
|
|
},
|
|
|
|
|
|
|
|
// This is all the minified api tests run locally on local browsers
|
|
|
|
minified_api_dev: {
|
|
|
|
browsers: ['Chrome', 'Firefox', 'Safari'],
|
|
|
|
configFile: 'test/karma.minified.api.conf.js'
|
2013-09-19 19:24:06 +03:00
|
|
|
},
|
2014-05-17 00:48:05 +03:00
|
|
|
minified_api_chromecanary: {
|
|
|
|
browsers: ['ChromeCanary'],
|
|
|
|
configFile: 'test/karma.minified.api.conf.js'
|
|
|
|
},
|
|
|
|
minified_api_chrome: {
|
|
|
|
browsers: ['Chrome'],
|
|
|
|
configFile: 'test/karma.minified.api.conf.js'
|
|
|
|
},
|
|
|
|
minified_api_firefox: {
|
|
|
|
browsers: ['Firefox'],
|
|
|
|
configFile: 'test/karma.minified.api.conf.js'
|
|
|
|
},
|
|
|
|
minified_api_safari: {
|
|
|
|
browsers: ['Safari'],
|
|
|
|
configFile: 'test/karma.minified.api.conf.js'
|
|
|
|
},
|
|
|
|
minified_api_ie: {
|
|
|
|
browsers: ['IE'],
|
|
|
|
configFile: 'test/karma.minified.api.conf.js'
|
|
|
|
},
|
|
|
|
minified_api_phantomjs: {
|
|
|
|
browsers: ['PhantomJS'],
|
|
|
|
configFile: 'test/karma.minified.api.conf.js'
|
2013-09-19 19:24:06 +03:00
|
|
|
}
|
2013-10-29 04:25:28 +03:00
|
|
|
},
|
|
|
|
vjsdocs: {
|
|
|
|
all: {
|
|
|
|
src: sourceFiles,
|
|
|
|
dest: 'docs/api',
|
|
|
|
options: {
|
|
|
|
baseURL: 'https://github.com/videojs/video.js/blob/master/'
|
|
|
|
}
|
|
|
|
}
|
2014-01-16 22:25:07 +03:00
|
|
|
},
|
2014-09-02 21:32:51 +03:00
|
|
|
vjslanguages: {
|
|
|
|
defaults: {
|
|
|
|
files: {
|
|
|
|
'build/files/lang': ['lang/*.json']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2014-01-16 22:25:07 +03:00
|
|
|
zip: {
|
|
|
|
dist: {
|
|
|
|
router: function (filepath) {
|
|
|
|
var path = require('path');
|
|
|
|
return path.relative('dist', filepath);
|
|
|
|
},
|
2014-03-07 00:15:53 +03:00
|
|
|
// compression: 'DEFLATE',
|
2014-01-16 22:25:07 +03:00
|
|
|
src: ['dist/video-js/**/*'],
|
|
|
|
dest: 'dist/video-js-' + version.full + '.zip'
|
|
|
|
}
|
2014-02-14 08:09:42 +03:00
|
|
|
},
|
2014-02-14 06:20:30 +03:00
|
|
|
usebanner: {
|
2015-03-12 20:23:47 +02:00
|
|
|
options: {
|
|
|
|
position: 'top',
|
|
|
|
banner: license,
|
|
|
|
linebreak: true
|
|
|
|
},
|
2014-02-14 06:20:30 +03:00
|
|
|
dist: {
|
|
|
|
options: {
|
2015-03-12 20:23:47 +02:00
|
|
|
banner: license
|
|
|
|
},
|
|
|
|
files: {
|
|
|
|
src: [ 'build/files/combined.video.js']
|
|
|
|
}
|
|
|
|
},
|
|
|
|
novtt: {
|
|
|
|
options: {
|
|
|
|
banner: licenseNoVtt
|
2014-02-14 06:20:30 +03:00
|
|
|
},
|
|
|
|
files: {
|
2015-03-12 20:23:47 +02:00
|
|
|
src: [ 'build/files/combined.video.novtt.js']
|
2014-02-14 06:20:30 +03:00
|
|
|
}
|
|
|
|
}
|
2014-02-15 03:52:48 +03:00
|
|
|
},
|
2014-04-12 23:47:39 +03:00
|
|
|
version: {
|
|
|
|
options: {
|
|
|
|
pkg: 'package.json'
|
|
|
|
},
|
|
|
|
major: {
|
|
|
|
options: {
|
|
|
|
release: 'major'
|
|
|
|
},
|
|
|
|
src: ['package.json', 'bower.json', 'component.json']
|
|
|
|
},
|
|
|
|
minor: {
|
|
|
|
options: {
|
|
|
|
release: 'minor'
|
|
|
|
},
|
|
|
|
src: ['package.json', 'bower.json', 'component.json']
|
|
|
|
},
|
|
|
|
patch: {
|
|
|
|
options: {
|
|
|
|
release: 'patch'
|
|
|
|
},
|
|
|
|
src: ['package.json', 'bower.json', 'component.json']
|
|
|
|
}
|
2014-02-15 03:52:48 +03:00
|
|
|
},
|
2015-02-26 02:00:09 +02:00
|
|
|
'github-release': {
|
|
|
|
options: {
|
|
|
|
repository: 'videojs/video.js',
|
|
|
|
auth: {
|
|
|
|
user: process.env.VJS_GITHUB_USER,
|
|
|
|
password: process.env.VJS_GITHUB_TOKEN
|
|
|
|
},
|
|
|
|
release: {
|
2015-02-27 01:05:16 +02:00
|
|
|
tag_name: 'v'+ version.full,
|
2015-02-26 02:00:09 +02:00
|
|
|
name: version.full,
|
|
|
|
body: require('chg').find(version.full).changesRaw
|
|
|
|
}
|
|
|
|
},
|
|
|
|
files: {
|
|
|
|
src: ['dist/video-js-'+ version.full +'.zip'] // Files that you want to attach to Release
|
|
|
|
}
|
2015-03-11 03:01:11 +02:00
|
|
|
},
|
|
|
|
browserify: {
|
|
|
|
dist: {
|
|
|
|
files: {
|
|
|
|
'build/files/video-es6.js': ['src/js/video.js']
|
|
|
|
},
|
|
|
|
options: {
|
|
|
|
browserifyOptions: {
|
|
|
|
debug: true,
|
|
|
|
standalone: 'videojs'
|
|
|
|
},
|
|
|
|
transform: [
|
|
|
|
require('babelify').configure({
|
|
|
|
sourceMapRelative: './src/js'
|
|
|
|
})
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
test: {
|
|
|
|
files: {
|
|
|
|
'build/files/video-es6.test.js': ['test/es6-browserify.js']
|
|
|
|
},
|
|
|
|
options: {
|
|
|
|
browserifyOptions: {
|
|
|
|
debug: true,
|
|
|
|
standalone: 'videojs'
|
|
|
|
},
|
|
|
|
transform: [
|
|
|
|
require('babelify').configure({
|
|
|
|
sourceMapRelative: './src/js'
|
|
|
|
})
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2014-02-14 06:20:30 +03:00
|
|
|
}
|
2013-01-12 10:02:20 +03:00
|
|
|
});
|
|
|
|
|
2014-08-27 01:14:48 +03:00
|
|
|
grunt.loadNpmTasks('grunt-videojs-languages');
|
2014-03-26 01:22:29 +03:00
|
|
|
grunt.loadNpmTasks('grunt-contrib-connect');
|
2013-02-09 01:08:31 +03:00
|
|
|
grunt.loadNpmTasks('grunt-contrib-jshint');
|
|
|
|
grunt.loadNpmTasks('grunt-contrib-qunit');
|
|
|
|
grunt.loadNpmTasks('grunt-contrib-watch');
|
|
|
|
grunt.loadNpmTasks('grunt-contrib-clean');
|
|
|
|
grunt.loadNpmTasks('grunt-contrib-copy');
|
2013-05-23 23:10:29 +03:00
|
|
|
grunt.loadNpmTasks('grunt-contrib-cssmin');
|
2013-07-20 06:18:39 +03:00
|
|
|
grunt.loadNpmTasks('grunt-contrib-less');
|
2013-03-26 02:52:36 +03:00
|
|
|
grunt.loadNpmTasks('contribflow');
|
2013-09-19 19:24:06 +03:00
|
|
|
grunt.loadNpmTasks('grunt-karma');
|
2013-10-29 04:25:28 +03:00
|
|
|
grunt.loadNpmTasks('videojs-doc-generator');
|
2014-01-16 22:25:07 +03:00
|
|
|
grunt.loadNpmTasks('grunt-zip');
|
2014-02-14 06:20:30 +03:00
|
|
|
grunt.loadNpmTasks('grunt-banner');
|
2014-04-12 23:47:39 +03:00
|
|
|
grunt.loadNpmTasks('grunt-version');
|
2014-02-15 03:52:48 +03:00
|
|
|
grunt.loadNpmTasks('chg');
|
2015-02-26 02:00:09 +02:00
|
|
|
grunt.loadNpmTasks('grunt-fastly');
|
|
|
|
grunt.loadNpmTasks('grunt-github-releaser');
|
2015-02-27 03:55:30 +02:00
|
|
|
grunt.loadNpmTasks('grunt-aws-s3');
|
2015-03-12 20:23:47 +02:00
|
|
|
grunt.loadNpmTasks('grunt-contrib-uglify');
|
2015-03-11 03:01:11 +02:00
|
|
|
grunt.loadNpmTasks('grunt-browserify');
|
2013-10-29 04:25:28 +03:00
|
|
|
|
|
|
|
// grunt.loadTasks('./docs/tasks/');
|
|
|
|
// grunt.loadTasks('../videojs-doc-generator/tasks/');
|
2013-01-12 10:02:20 +03:00
|
|
|
|
2015-03-12 20:23:47 +02:00
|
|
|
grunt.registerTask('pretask', ['jshint', 'less', 'vjslanguages', 'build', 'usebanner', 'uglify']);
|
2013-01-13 09:23:22 +03:00
|
|
|
// Default task.
|
2014-05-17 00:48:05 +03:00
|
|
|
grunt.registerTask('default', ['pretask', 'dist']);
|
2013-01-13 09:23:22 +03:00
|
|
|
// Development watch task
|
2015-03-12 20:23:47 +02:00
|
|
|
grunt.registerTask('dev', ['jshint', 'less', 'vjslanguages', 'build', 'usebanner', 'qunit:source']);
|
2014-05-17 00:48:05 +03:00
|
|
|
grunt.registerTask('test-qunit', ['pretask', 'qunit']);
|
2015-03-11 03:01:11 +02:00
|
|
|
grunt.registerTask('test-es6', ['browserify:test', 'qunit:es6']);
|
2014-05-17 00:48:05 +03:00
|
|
|
|
2014-01-16 22:25:07 +03:00
|
|
|
grunt.registerTask('dist', 'Creating distribution', ['dist-copy', 'zip:dist']);
|
|
|
|
|
2015-02-26 02:00:09 +02:00
|
|
|
// Load all the tasks in the tasks directory
|
|
|
|
grunt.loadTasks('tasks');
|
2013-01-12 10:02:20 +03:00
|
|
|
};
|