diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e580c6cf..933967f5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ * [#1747](https://github.com/bbatsov/projectile/pull/1747): Add support for preset-based install-commands for CMake projects. * [#1768](https://github.com/bbatsov/projectile/pull/1768) Add support for disabling command caching on a per-project basis. * [#1797](https://github.com/bbatsov/projectile/pull/1797) Make all project type attributes locally overridable +* [#1803](https://github.com/bbatsov/projectile/pull/1803): Add support go-task/task ### Bugs fixed diff --git a/projectile.el b/projectile.el index 0bde72c4e..922a5509f 100644 --- a/projectile.el +++ b/projectile.el @@ -3157,6 +3157,12 @@ a manual COMMAND-TYPE command is created with :test #'projectile--cmake-test-command :install #'projectile--cmake-install-command :package "cmake --build build --target package") +;; go-task/task +(projectile-register-project-type 'go-task '("Taskfile.yml") + :project-file "Taskfile.yml" + :compile "task build" + :test "task test" + :install "task install") ;; Go should take higher precedence than Make because Go projects often have a Makefile. (projectile-register-project-type 'go projectile-go-project-test-function :compile "go build"