- Notifications
You must be signed in to change notification settings - Fork0
hadenlabs/tasks
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository contains reusableTaskfile templates to standardize and simplify common tasks like running pre-commit hooks, generating changelogs, creating GitHub releases, and more.
This is a list of plugins that need to be installed previously to enjoy all the goodies of this configuration:
To use the Taskfile templates in your project, include the remote Taskfiles in your project'sTaskfile.yaml
:
version:"3"includes:pre-commit:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/pre-commit/Taskfile.yml"github:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/github/Taskfile.yml"changelog:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/changelog/Taskfile.yml"confluence:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/confluence/Taskfile.yml"python:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/python/Taskfile.yml"git:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/git/Taskfile.yml"docs:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/docs/Taskfile.yml"docker:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/docker/Taskfile.yml"version:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/version/Taskfile.yml"plantuml:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/plantuml/Taskfile.yml"prettier:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/prettier/Taskfile.yml"sonar:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/sonar/Taskfile.yml"keybase:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/keybase/Taskfile.yml"multipass:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/multipass/Taskfile.yml"ssh:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/ssh/Taskfile.yml"openssl:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/openssl/Taskfile.yml"diagrams:taskfile:"https://raw.githubusercontent.com/hadenlabs/tasks/main/diagrams/Taskfile.yml"env:DOCKER:sh:docker --version 2> /dev/null || echo "not exist"PYTHON:sh:python --version 2> /dev/null || echo "not exist"GO:sh:go version 2> /dev/null || echo "not exist"NODE:sh:node --version 2> /dev/null || echo "not exist"APP_TAG:sh:git describe --tags $(git rev-list --tags --max-count=1) 2> /dev/null || echo "0.0.0"README_YAML:provision/generators/README.yamlREADME_TEMPLATE:provision/templates/README.tpl.mdREADME_INCLUDES:file://vars:PROJECT_NAME:{ { project } }GROUP_NAME:hadenlabsORGANIZATION:hadenlabsDOCKER_PLATFORM:linux/amd64REVIEWERS:luismaytaPYTHON_VERSION:3.11.5NODE_VERSION:18.18.2TERRAFORM_VERSION:1.8.4GIT_IGNORES:python,node,go,zsh,sonar,java,maven,intellij+all,terraform,linuxGOLANGCI_VERSION:1.42.0README_FILE:README.mdGIT_IGNORES_CUSTOM:| bin .scannerwork .secrets public TMP_CHANGELOG.md .task .terraform.lock.hcl *.lock.hcl *.zip .external_modules vendordotenv: -.envtasks:default:deps: -task:checkcmds: -cmd:echo Application {{.PROJECT_NAME}}silent:true -task:version:default -task:summary -cmd:task -lsilent:truesummary:desc:"Summary information"cmds: -echo Go available {{.GO}} -echo Python available {{.PYTHON}} -echo Docker available {{.DOCKER}} -echo Node available {{.NODE}}silent:truecheck:desc:"Check all dependencies"deps: -python:check -changelog:check -git:check -docs:checkreadme:run:oncedesc:Generate Readmesilent:truecmds: ->- gomplate --file {{.README_TEMPLATE}} --out {{.README_FILE}} --datasource config={{.README_YAML}} --datasource includes={{.README_INCLUDES}} -task:prettierprettier:run:oncedesc:Execute prettier filescmds: -task:prettier:allupgrade:run:oncedesc:Execute upgrade packagescmds: -poetry update -poetry run pre-commit autoupdatesetup:desc:Setup dependences of projectcmds: ->- [ -e ".env" ] || cp -rf .env.example .env -task:python:setup -task:python:precommit -task:git:setupenvironment:desc:Setup environment of projectcmds: -task:python:environment
Got a question?
File a GitHubissue.
SeeContributing.
This Module follows the principles ofSemantic Versioning (SemVer).
Using the given version number ofMAJOR.MINOR.PATCH
, we apply the following constructs:
- Use the
MAJOR
version for incompatible changes. - Use the
MINOR
version when adding functionality in a backwards compatible manner. - Use the
PATCH
version when introducing backwards compatible bug fixes.
- In the context of initial development, backwards compatibility in versions
0.0.z
isnot guaranteed whenz
is increased. (Initial development) - In the context of pre-release, backwards compatibility in versions
0.y.z
isnot guaranteed wheny
is increased. (Pre-release)
Copyright © 2018-2025Hadenlabs
All other trademarks referenced herein are the property of their respective owners.
The code and styles are licensed under the LGPL-3.0 licenseSee project license..
About
Tasks for taskfiles