aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--projectile.el6
2 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0e580c6..933967f 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 0bde72c..922a550 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"