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.
-
Melpa
Use
package-install
to install Projectile Trailblazer. The package name isprojectile-trailblazer
.
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)
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` |
Projectile Trailblazer uses Cask.
You can either install it localy and run
$ cd /path/to/trailblazer-rails
$ cask
and run
$ make test
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.
- Fork and checkout
- Add test
- Run test and be sure it fails
- Implement your code
- Run test, back to 4. if failing
- Create Pull Request