Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !9050

organizes the Gruntfile a bit and makes better use of Grunt conventions

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/jonschlinkert/3.0.0-wip into 3.0.0-wip Aug 03, 2013
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: jonschlinkert

...and placates my OCD.

Minor changes in the Gruntfile:

  • Use two spaces for consistency with the rest of the codebase.
  • Tasks are now organize based on task type. since lodash templates are used across tasks/targets, this makes it easier to follow.
  • Use src-dest files format when only src-dest pairing is necessary. This saves a line over the files-object format, but more importantly it allows use the src or dest in lodash templates (e.g. <%= concat.bootstrap.src %>), which isn't possible in the files-object or files-array formats.
  • Make the explicit order of the javascript files more obvious in concat task , maybe just a tiny bit more usable and easier to customize - but really just OCD
  • Use <%= pkg.name %> variable for dest CSS, both for consistency with how javascript targets are defined, and to make it just little easier for devs to customize bootstrap.

ran the build to test, everything seems good.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/jonschlinkert/3.0.0-wip