You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

runter

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

runter

0.1.0
Rubygems
Version published
Maintainers
1
Created
Source

IMPORTANT

This project is in early, early stages. Don't expect anything reliable just yet. Even though the instructions state it, it isn't currently uploaded to Rubygems and won't be until I'm happy with it.

Runter

Runter is a task runner for Ruby. The general idea is it exposes a modular way of performing tasks when a file or file(s) in your project are modified.

Usage

gem install runter

From there, you need to create a Runtfile in the root of your project, something like this:

{
  "watchers":[
    {
      "name": "libwatch",
      "src": ["lib/**/*"],
      "singleFileActions": [
        "echo 'Single Action: $1 was modified'"
      ],
      "bulkActions": [
        "echo 'Bulk Action: Runter detected some changes'"
      ]
    }
  ]
}

To start the monitor, type

runter

And that's it. From there your actions will be executed as defined in your Runtfile!

FAQs

Package last updated on 28 Apr 2014

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