Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grump

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grump

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Grump

Poor man's build system.

How does it work?

Create a Grumpfile and define your project. Grumpfiles are inherited from root (/) to current directory.

Run grump (task name) to invoke some logic. Tasks are defined in Grumpfiles. If no task name is specified "default" is used.

Grumpfile

plugin(name)

Loads plugin. Will require file "grump-#{name}" and will include it into current context. If "#{name}_plugin_setup" method exists, invokes it.

task(name, &block)

If no block is given, execute task specified by name. If block is given, define new task identified by name.

var(name, value=nil)

If value is not nil, set value for name. When value is nil, return value for name.

directory(path)

Resolve directory relative to location of Grumpfile.

Example Grumpfile

``ruby plugin :maven

maven 'io.netty', 'netty-handler', '4.0.7.Final' maven 'org.slf4j', 'slf4j-api', '1.7.5' maven 'org.msgpack', 'msgpack', '0.6.7'

var(:pwd, directory('.'))

task('build') do maven_download java_build end

task('package') do task('build') java_jar java_package end

task('default') do task('build') java_run end

``

Plugins

Plugin is a Module included into the context where Grumpfiles are resolved. Plugin defines methods, variables or anything Grumpfile can define.

Why?

Because!

License

Check the LICENSE.md file.

FAQs

Package last updated on 20 Aug 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc