Skip to content

Commit

Permalink
Add run command for rust-cargo projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Anders authored and bbatsov committed Jan 26, 2019
1 parent 79b058f commit a6ecae5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -2514,7 +2514,8 @@ TEST-DIR which specifies the path to the tests relative to the project root."
;; Rust
(projectile-register-project-type 'rust-cargo '("Cargo.toml")
:compile "cargo build"
:test "cargo test")
:test "cargo test"
:run "cargo run")

;; Racket
(projectile-register-project-type 'racket '("info.rkt")
Expand Down

0 comments on commit a6ecae5

Please sign in to comment.