Skip to content

Commit

Permalink
Register elixir project type (#1015)
Browse files Browse the repository at this point in the history
  • Loading branch information
asok authored and bbatsov committed Jun 30, 2016
1 parent d7d7b9d commit 317bbb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### New features

* Add [elixir](http://elixir-lang.org) project type.
* Add [emacs-cask](https://github.com/cask/cask) project type.
* Add [boot-clj](https://github.com/boot-clj/boot) project type.
* Add [racket](http://racket-lang.org) project type.
Expand Down
3 changes: 2 additions & 1 deletion projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -1833,6 +1833,7 @@ a COMPILE-CMD, a TEST-CMD, and a RUN-CMD."
(projectile-register-project-type 'r '("DESCRIPTION") "R CMD INSTALL --with-keep.source ." (concat "R CMD check -o " temporary-file-directory " ."))
(projectile-register-project-type 'go #'projectile-go "go build ./..." "go test ./...")
(projectile-register-project-type 'racket '("info.rkt") nil "raco test .")
(projectile-register-project-type 'elixir '("mix.exs") "mix compile" "mix test")

(defun projectile-cabal ()
"Check if a project contains *.cabal files but no stack.yaml file."
Expand Down Expand Up @@ -1984,7 +1985,7 @@ It assumes the test/ folder is at the same level as src/."
((member project-type '(rebar)) "_SUITE")
((member project-type '(emacs-cask)) "-test")
((member project-type '(rails-rspec ruby-rspec)) "_spec")
((member project-type '(rails-test ruby-test lein-test boot-clj go)) "_test")
((member project-type '(rails-test ruby-test lein-test boot-clj go elixir)) "_test")
((member project-type '(scons)) "test")
((member project-type '(maven symfony)) "Test")
((member project-type '(gradle gradlew grails)) "Spec")
Expand Down

0 comments on commit 317bbb8

Please sign in to comment.