Created
December 31, 2014 06:59
-
-
Save webfella/4b3c3664749034ce42e2 to your computer and use it in GitHub Desktop.
Custom build of jquery for gulp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[submodule "project/src/ui/build/thirdparty/jquery"] | |
path = project/src/ui/build/thirdparty/jquery | |
url = git://github.com/jquery/jquery.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'), | |
shell = require('gulp-shell'); | |
gulp.task('jquery', shell.task([ | |
'npm install', | |
'./node_modules/.bin/grunt custom:-ajax/xhr,-ajax/script,-css,-deprecated,-dimensions,-effects,-event,-offset,-wrap,-core/ready,-exports/global,-exports/amd,-sizzle', | |
'./node_modules/.bin/grunt dist:../../../javascripts/libs/' | |
], { | |
cwd: './src/ui/build/thirdparty/jquery' | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment