aboutsummaryrefslogtreecommitdiffstats
path: root/Global
Commit message (Expand)AuthorAgeFilesLines
...
| * | | New template file for ImagesJustin Hartman2018-01-041-0/+63
* | | | Merge pull request #2086 from AlexanderBrevig/masterBrendan Forster2018-10-271-0/+18
|\ \ \ \
| * | | | Add .log and .zip to ignores, Thanks Alex BustosAlexander Brevig2018-09-181-0/+2
| * | | | Add gitignore for Cypress Semiconductor IDEAlexander Brevig2016-08-301-0/+16
* | | | | Merge pull request #2752 from fidmor89/patch-2Brendan Forster2018-10-131-9/+65
|\ \ \ \ \
| * | | | | Update Xcode.gitignoreFidel Esteban Morales Cifuentes2018-06-301-9/+65
* | | | | | Ignoring multi-directory a path without ** is not enough for nested projectsDmitry Avtonomov2018-10-131-1/+1
* | | | | | Ignore build cache file for Android Studio 3.1+Jonathan Stucklen2018-09-141-0/+3
* | | | | | Removed Microsoft Word 2016 Auto Backuped File on macOSYCH2018-08-141-0/+3
* | | | | | Merge pull request #2758 from iSWORD/patch-1Brendan Forster2018-08-101-0/+3
|\ \ \ \ \ \
| * | | | | | updated jetbrains gitignore to ignore contentModelMuhannad Ajjan (INACTIVE)2018-07-041-0/+3
* | | | | | | Merge pull request #2739 from jayvdb/diff-filesBrendan Forster2018-08-101-0/+2
|\ \ \ \ \ \ \
| * | | | | | | New file for diff filesJohn Vandenberg2018-06-181-0/+2
* | | | | | | | Merge pull request #2738 from jayvdb/patch-artifactsBrendan Forster2018-07-042-0/+3
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | New file for artifacts of patchJohn Vandenberg2018-06-181-0/+2
| * | | | | | | Backup: Add *.origJohn Vandenberg2018-06-181-0/+1
| |/ / / / / /
* | | | | | | Separate module directory from project iml excludeShawn Kovalchick2018-07-021-1/+2
* | | | | | | Remove duplicate libraries entryShawn Kovalchick2018-06-291-1/+0
* | | | | | | JetBrains: Optional excludes for auto-importShawn Kovalchick2018-06-291-0/+8
| |/ / / / / |/| | | | |
* | | | | | Merge pull request #2736 from codethirteen/patch-1Brendan Forster2018-06-181-0/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Updated for Codekit 3Paul2018-06-141-0/+1
* | | | | | Merge pull request #2570 from justinhartman/patch-5Brendan Forster2018-06-171-0/+4
|\ \ \ \ \ \
| * | | | | | New template file for Backup file formatsJustin Hartman2018-01-041-0/+4
| | |_|/ / / | |/| | | |
* | | | | | Merge branch 'master' into masterBrendan Forster2018-06-178-35/+54
|\ \ \ \ \ \
| * \ \ \ \ \ Merge pull request #2631 from areyer/patch-1Brendan Forster2018-06-171-1/+2
| |\ \ \ \ \ \
| | * | | | | | allow .ssh directoryAdrian Reyer2018-03-191-1/+2
| * | | | | | | Merge pull request #2649 from lukoerfer/masterBrendan Forster2018-06-171-0/+3
| |\ \ \ \ \ \ \
| | * | | | | | | Added default annotation processing directory to Eclipse.gitignoreLukas Körfer2018-04-021-0/+3
| * | | | | | | | Merge pull request #2686 from 14roiron/patch-1Brendan Forster2018-06-171-0/+3
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Exclude coder temporary folders14roiron2018-05-011-0/+3
| * | | | | | | | | Merge pull request #2728 from jayvdb/trim-trailing-spacesBrendan Forster2018-06-173-11/+11
| |\ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / | |/| | | | | | | |
| | * | | | | | | | Trim trailing whitespaceJohn Vandenberg2018-06-053-11/+11
| * | | | | | | | | Ignore usage statistics fileShawn Kovalchick2018-06-111-0/+1
| |/ / / / / / / /
| * | | | | | | | Update JetBrains.gitignoreKenji Ohtsuka2018-05-101-0/+1
| * | | | | | | | Add persistent undo to Vim.gitignoreIgor Epstein2018-05-011-0/+2
| |/ / / / / / /
| * | | | | | | Merge pull request #2652 from twhitbeck/jetbrains-add-shelfBrendan Forster2018-04-131-1/+2
| |\ \ \ \ \ \ \
| | * | | | | | | Add shelf to JetBrains.gitignoreTim Whitbeck2018-04-051-1/+2
| | |/ / / / / /
| * / / / / / / Add a new .msix extensionRiva Junior2018-04-071-0/+1
| |/ / / / / /
| * | | | | | JetBrains: add .idea/httpRequestsHideki Ikemoto2018-03-301-0/+3
| * | | | | | Remove unnecessary commentArthur Kelsch2018-03-251-2/+0
| * | | | | | Use one hashtag instead of twoArthur Kelsch2018-03-251-1/+1
| * | | | | | Remove colons at the end of commentsArthur Kelsch2018-03-251-6/+6
| |/ / / / /
| * | | | | .idea/**/datasources.xml is now safe to storeDmitriy "DK" Korobskiy2018-02-071-1/+0
| * | | | | Fixes WebStorm capitalization in commentNathan Floris Copier2018-02-051-1/+1
| |/ / / /
| * | | | Update Eclipse.gitignore (#2556)Rafi Wiener2017-12-261-0/+3
| * | | | Add "cmake-build-release/" to Jetbrains.gitignore (#2552)白季飞龙2017-12-181-0/+1
| * | | | Update Matlab.gitignore (#2533)Sam Roberts2017-12-151-9/+11
| * | | | Add sccprj/ folder to global MATLAB.gitignore (#2493)Caio Proiete2017-11-291-1/+2
| * | | | Change desktop.ini to [Dd]esktop.iniYousha Aleayoub2017-10-231-1/+1
| * | | | Fix failure to ignore simulink autosave fileQingyu Deng2017-09-121-1/+1
n class="o">? "$1\"" + amdName + "\"$2" : "" ); } return contents; } grunt.registerMultiTask( "build", "Concatenate source, remove sub AMD definitions, " + "(include/exclude modules with +/- flags), embed date/version", function() { var flag, index, done = this.async(), flags = this.flags, optIn = flags[ "*" ], name = grunt.option( "filename" ), minimum = this.data.minimum, removeWith = this.data.removeWith, excluded = [], included = [], version = grunt.config( "pkg.version" ), /** * Recursively calls the excluder to remove on all modules in the list * @param {Array} list * @param {String} [prepend] Prepend this to the module name. * Indicates we're walking a directory */ excludeList = function( list, prepend ) { if ( list ) { prepend = prepend ? prepend + "/" : ""; list.forEach( function( module ) { // Exclude var modules as well if ( module === "var" ) { excludeList( fs.readdirSync( srcFolder + prepend + module ), prepend + module ); return; } if ( prepend ) { // Skip if this is not a js file and we're walking files in a dir if ( !( module = /([\w-\/]+)\.js$/.exec( module ) ) ) { return; } // Prepend folder name if passed // Remove .js extension module = prepend + module[ 1 ]; } // Avoid infinite recursion if ( excluded.indexOf( module ) === -1 ) { excluder( "-" + module ); } } ); } }, /** * Adds the specified module to the excluded or included list, depending on the flag * @param {String} flag A module path relative to * the src directory starting with + or - to indicate * whether it should included or excluded */ excluder = function( flag ) { var additional, m = /^(\+|\-|)([\w\/-]+)$/.exec( flag ), exclude = m[ 1 ] === "-", module = m[ 2 ]; if ( exclude ) { // Can't exclude certain modules if ( minimum.indexOf( module ) === -1 ) { // Add to excluded if ( excluded.indexOf( module ) === -1 ) { grunt.log.writeln( flag ); excluded.push( module ); // Exclude all files in the folder of the same name // These are the removable dependencies // It's fine if the directory is not there try { excludeList( fs.readdirSync( srcFolder + module ), module ); } catch ( e ) { grunt.verbose.writeln( e ); } } additional = removeWith[ module ]; // Check removeWith list if ( additional ) { excludeList( additional.remove || additional ); if ( additional.include ) { included = included.concat( additional.include ); grunt.log.writeln( "+" + additional.include ); } } } else { grunt.log.error( "Module \"" + module + "\" is a minimum requirement." ); if ( module === "selector" ) { grunt.log.error( "If you meant to replace Sizzle, use -sizzle instead." ); } } } else { grunt.log.writeln( flag ); included.push( module ); } }; // Filename can be passed to the command line using // command line options // e.g. grunt build --filename=jquery-custom.js name = name ? ( "dist/" + name ) : this.data.dest; // append commit id to version if ( process.env.COMMIT ) { version += " " + process.env.COMMIT; } // figure out which files to exclude based on these rules in this order: // dependency explicit exclude // > explicit exclude // > explicit include // > dependency implicit exclude // > implicit exclude // examples: // * none (implicit exclude) // *:* all (implicit include) // *:*:-css all except css and dependents (explicit > implicit) // *:*:-css:+effects same (excludes effects because explicit include is // trumped by explicit exclude of dependency) // *:+effects none except effects and its dependencies // (explicit include trumps implicit exclude of dependency) delete flags[ "*" ]; for ( flag in flags ) { excluder( flag ); } // Handle Sizzle exclusion // Replace with selector-native if ( ( index = excluded.indexOf( "sizzle" ) ) > -1 ) { config.rawText.selector = "define(['./selector-native']);"; excluded.splice( index, 1 ); } // Replace exports/global with a noop noConflict if ( ( index = excluded.indexOf( "exports/global" ) ) > -1 ) { config.rawText[ "exports/global" ] = "define(['../core']," + "function( jQuery ) {\njQuery.noConflict = function() {};\n});"; excluded.splice( index, 1 ); } grunt.verbose.writeflags( excluded, "Excluded" ); grunt.verbose.writeflags( included, "Included" ); // append excluded modules to version if ( excluded.length ) { version += " -" + excluded.join( ",-" ); // set pkg.version to version with excludes, so minified file picks it up grunt.config.set( "pkg.version", version ); grunt.verbose.writeln( "Version changed to " + version ); // Have to use shallow or core will get excluded since it is a dependency config.excludeShallow = excluded; } config.include = included; /** * Handle Final output from the optimizer * @param {String} compiled */ config.out = function( compiled ) { compiled = compiled // Embed Version .replace( /@VERSION/g, version ) // Embed Date // yyyy-mm-ddThh:mmZ .replace( /@DATE/g, ( new Date() ).toISOString().replace( /:\d+\.\d+Z$/, "Z" ) ); // Write concatenated source to file grunt.file.write( name, compiled ); }; // Turn off opt-in if necessary if ( !optIn ) { // Overwrite the default inclusions with the explicit ones provided config.rawText.jquery = "define([" + ( included.length ? included.join( "," ) : "" ) + "]);"; } // Trace dependencies and concatenate files requirejs.optimize( config, function( response ) { grunt.verbose.writeln( response ); grunt.log.ok( "File '" + name + "' created." ); done(); }, function( err ) { done( err ); } ); } ); // Special "alias" task to make custom build creation less grawlix-y // Translation example // // grunt custom:+ajax,-dimensions,-effects,-offset // // Becomes: // // grunt build:*:*:+ajax:-dimensions:-effects:-offset // // There's also a special "slim" alias that resolves to the jQuery Slim build // configuration: // // grunt custom:slim grunt.registerTask( "custom", function() { var args = this.args, modules = args.length ? args[ 0 ] .split( "," ) // Replace "slim" with respective exclusions meant for // the official slim build .reduce( ( acc, elem ) => acc.concat( elem === "slim" ? slimBuildFlags : [ elem ] ), [] ) .join( ":" ) : "", done = this.async(), insight = new Insight( { trackingCode: "UA-1076265-4", pkg: pkg } ); function exec( trackingAllowed ) { var tracks = args.length ? args[ 0 ].split( "," ) : []; var defaultPath = [ "build", "custom" ]; tracks = tracks.map( function( track ) { return track.replace( /\//g, "+" ); } ); if ( trackingAllowed ) { // Track individuals tracks.forEach( function( module ) { var path = defaultPath.concat( [ "individual" ], module ); insight.track.apply( insight, path ); } ); // Track full command insight.track.apply( insight, defaultPath.concat( [ "full" ], tracks ) ); } grunt.task.run( [ "build:*:*" + ( modules ? ":" + modules : "" ), "uglify", "dist" ] ); done(); } grunt.log.writeln( "Creating custom build...\n" ); // Ask for permission the first time if ( insight.optOut === undefined ) { insight.askPermission( null, function( _error, result ) { exec( result ); } ); } else { exec( !insight.optOut ); } } ); };