aboutsummaryrefslogtreecommitdiff
path: root/projectile.el
diff options
context:
space:
mode:
Diffstat (limited to 'projectile.el')
-rw-r--r--projectile.el6
1 files changed, 6 insertions, 0 deletions
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"