Giter Site home page Giter Site logo

rake's Introduction

Rake Build Status

Rake is a package for running rake tasks in Emacs.

  • runs rake command using zeus, spring or bundler
  • caches the tasks
  • displays the docstrings of the tasks

Screenshot

Installation

Melpa

Once you have setup Melpa you can use package-install command to install Projectile Rails. The package name is rake.

Usage

rake command

  • M-x rake to run a rake task.
  • C-u M-x rake to amend the command to run. Useful if you want to add arguments.
  • C-u C-u M-x rake to bypass the cache (when enabled).

rake-find-task command

  • M-x rake-find-task to find a rake task.

rake-rerun command

  • M-x rake-rerun to run the last task.

Setting up keybinding

By default rake command is not bound to any key. You might want to do something like this:

(define-key ruby-mode-map (kbd "C-!") 'rake)

Replace (kbd "C-!") with a key of your liking.

Customization

Caching

By default the caching is enabled. To disable it:

(setq rake-enable-caching nil)

Completion

By default ido is used for completion. You can customize it with:

(setq rake-completion-system 'helm)

You can set it to ido, helm, grizzl or default for the Emacs' default completion. Also, you can set it to the symbol of a custom command that accepts "prompt" as the first argument and "choices" as the second argument.

Also if you are a user of Projectile you might want to just set it to the value of projectile-completion-system like this:

(eval-after-load 'projectile
  '(setq rake-completion-system projectile-completion-system))

Alternatives

Contribution

Install cask if you haven't already, then:

$ cd /path/to/rake
$ cask

Run all tests with:

$ cask exec ecukes

rake's People

Contributors

asok avatar caleb avatar jeizsm avatar purcell avatar

Watchers

James Cloos avatar Sergei Maximov avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.