Skip to content

micdahl/projectile-trailblazer

Repository files navigation

Projectile Trailblazer

Synopsis

Projectile Trailblazer is a minor mode for working with Ruby on Rails applications and engines supporting Trailblazer in GNU Emacs. It uses Projectile Rails, which is based on Projectile, and adds some Trailblazer specific commands.

Setup

Installation

  • Melpa

    Use package-install to install Projectile Trailblazer. The package name is projectile-trailblazer.

Usage and customizing

As Projectile Trailblazer heavily depends on it, usage and customizing is given at Projectile Rails. To use the package as a global mode use (projectile-trailblazer-global-mode)

Added interactive commands

Additional to the commands defined by Projectile Rails, the following commands are supported:

Command Keybinding Description
projectile-trailblazer-find-cell C-c ; c Find a cell using `projectile-completion-system`
projectile-trailblazer-find-contract C-c ; t Find a contract using `projectile-completion-system`
projectile-trailblazer-find-operation C-c ; o Find an operation using `projectile-completion-system`
projectile-trailblazer-find-view C-c ; v Find an view using `projectile-completion-system`

Contribution

Projectile Trailblazer uses Cask.

Local development installation

You can either install it localy and run

$ cd /path/to/trailblazer-rails
$ cask

and run

$ make test

Use Docker

As an alternative, the repository contains a Dockerfile and a docker-compose.yml. When you have installed Docker you prepare with

$ docker-compose build
$ docker-compose run app cesk install

After that, you can execute the tests with

$ docker-compose up

to run the tests.

Contribute

  1. Fork and checkout
  2. Add test
  3. Run test and be sure it fails
  4. Implement your code
  5. Run test, back to 4. if failing
  6. Create Pull Request

About

Emacs Rails Trailblazer mode based on Projectile Rails

Resources

Stars

Watchers

Forks

Packages

No packages published