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
  • !7780

Replace Makefile with GruntJS

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/seriema/grunt into master May 03, 2013
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 4

Created by: seriema

I have replaced the makefile with GruntJS. It supports all the previous commands and more. This should make things a bit more flexible and easily accessible for others to contribute too.

You still install everything with npm install.

Commands

Public, as per Readme:

grunt - takes the role of make, and does the basic package

grunt test - runs jshint and qunit

grunt watch - sets up a watch for LESS changes

Private, as I found in the Makefile:

grunt cleanit - cleans the /bootstrap directory

grunt bootstrap - copies files to /bootstrap directory

grunt gh-pages - creates a sibling folder with docs etc

New, bonus:

grunt travis - for Travis CI, runs the same thing as grunt test

All grunt tasks can be run separately. Such as grunt qunit etc.

Note

I'm not an expert on this and there are a few things I was wondering about, so I'd like someone that knows more about what to expect from the build tasks to try this out. Let me know if you face any issues and I'll fix it.

Btw, running JSHint with Grunt complains about the // jshint ;_; sad face comments so you'll have to run with --force. I didn't dare remove those comments :)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/seriema/grunt