Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including grunt-make with all npm packages installed. Try it out:

require("grunt/package.json"); // grunt is a peer dependency. var gruntMake = require("grunt-make")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

grunt-make v1.0.0

A Grunt plugin to simplify interoperation between Grunt and Make

grunt-make Build Status via Travis CI NPM version


Ease interoperability between Grunt and Make. Creates a "make" task that will automatically call the relevant target in your Makefile based on the arguments.

For more musings on why you would possibly want to do this, check out:



There is no configuration for the task itself. You would use the target in other compound tasks or as the target of a watcher.

For example, if you're building Sass with a grunt-contrib-watch, but you have you build configured with make, this is all you need to do in your Gruntfile:

watch: {
  styles: {
    files: "styles/*.scss",
    task: "make:styles" // <--

...if your Makefile contains this:

styles: dist/css/main.css

dist/css/main.css: styles/*.scss
  node-sass styles/main.scss $@

You can also target files:

    task: "make:dist/css/main.css"

You can also specify many Make targets by separating them with colons:

gunt.registerTask("allthethings", ["make:styles:scripts:lint:doc:publish"]);



RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free