]> source.dussan.org Git - jquery-ui.git/commitdiff
Build: Remove grunt concat task its no longer used
authorAlexander Schmitz <arschmitz@gmail.com>
Mon, 3 Aug 2015 13:08:06 +0000 (09:08 -0400)
committerAlexander Schmitz <arschmitz@gmail.com>
Sat, 8 Aug 2015 04:29:39 +0000 (00:29 -0400)
This task was only used to create the combined js file for sizer
and for creating the combined files for the NPM package. The
npm package is no longer maintained so there is no need for this any more.

Gruntfile.js

index 3ee17462cd916c9d6769e603641c3545dafe0e9a..41961061b61bb807bc554b930ba935389535d6ea 100644 (file)
@@ -24,29 +24,6 @@ var
 
        allI18nFiles = expandFiles( "ui/i18n/*.js" ),
 
-       cssFiles = [
-               "core",
-               "accordion",
-               "autocomplete",
-               "button",
-               "datepicker",
-               "dialog",
-               "draggable",
-               "menu",
-               "progressbar",
-               "resizable",
-               "selectable",
-               "selectmenu",
-               "sortable",
-               "slider",
-               "spinner",
-               "tabs",
-               "tooltip",
-               "theme"
-       ].map(function( component ) {
-               return "themes/base/" + component + ".css";
-       }),
-
        // minified files
        minify = {
                options: {
@@ -149,25 +126,6 @@ grunt.initConfig({
                dist: "<%= pkg.name %>-<%= pkg.version %>"
        },
        compare_size: compareFiles,
-       concat: {
-               i18n: {
-                       options: {
-                               banner: createBanner( allI18nFiles )
-                       },
-                       src: allI18nFiles,
-                       dest: "dist/i18n/jquery-ui-i18n.js"
-               },
-               css: {
-                       options: {
-                               banner: createBanner( cssFiles ),
-                               stripBanners: {
-                                       block: true
-                               }
-                       },
-                       src: cssFiles,
-                       dest: "dist/jquery-ui.css"
-               }
-       },
        requirejs: {
                js: {
                        options: {