From 3a0c7a8c366576dd701aaaa3247e978d047e37d5 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Wed, 2 Nov 2022 11:39:05 -0300 Subject: [PATCH] Add CHANGELOG for #815 Closes #661 --- CHANGELOG.md | 7 +++++++ docs/Taskfile.yml | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d58639a05b..87c7b2e940 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## Unreleased + +- It's now possible to call a `default` task in an included Taskfile by using + just the namespace. For example: `docs:default` is now automatically + aliased to `docs` + ([#661](https://github.com/go-task/task/issues/661), [#815](https://github.com/go-task/task/pull/815)). + ## v3.17.0 - Add a "Did you mean ...?" suggestion when a task does not exits another one diff --git a/docs/Taskfile.yml b/docs/Taskfile.yml index 929705a805..3f70acb8dc 100644 --- a/docs/Taskfile.yml +++ b/docs/Taskfile.yml @@ -6,9 +6,9 @@ tasks: cmds: - yarn install - start: + default: desc: Start website - aliases: [s] + aliases: [s, start] vars: HOST: '{{default "localhost" .HOST}}' PORT: '{{default "3001" .PORT}}'