Add initial DevContainer setup and configuration files (#1)
- Create .devcontainer/devcontainer.json for container environment setup - Add postStartCommand.sh for provisioning system dependencies and configuration - Include .gitignore to exclude task-related files - Create .taskrc.yml to enable experimental features - Add Taskfile.yml for task management and configuration - Set up VSCode settings for integrated terminal using zsh Co-authored-by: Thomas <thomas.hochstrasser@gmx.net> Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
44
Taskfile.yml
Normal file
44
Taskfile.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
# https://taskfile.dev
|
||||
|
||||
version: "3"
|
||||
|
||||
vars:
|
||||
# Global Configuration
|
||||
CONAN2_CONFIG_URL: https://package-cloud.dns.army/ros2/conan2-config
|
||||
CONAN2_CONFIG_BRANCH: main
|
||||
CONAN2_CONFIG_TASKFILE_PATH: Taskfile.yml
|
||||
CONAN_BUILD_VERSION: latest
|
||||
|
||||
includes:
|
||||
# Remote includes
|
||||
conan2-config: "{{.CONAN2_CONFIG_URL}}/raw/branch/{{.CONAN2_CONFIG_BRANCH}}/{{.CONAN2_CONFIG_TASKFILE_PATH}}"
|
||||
|
||||
# Local modules
|
||||
|
||||
tasks:
|
||||
default:
|
||||
desc: Show available tasks
|
||||
silent: true
|
||||
cmds:
|
||||
- task: version
|
||||
- task --list
|
||||
|
||||
version:
|
||||
desc: Display component version information
|
||||
silent: true
|
||||
vars:
|
||||
NAME_COMPONENT: repo-templates
|
||||
URL_COMPONENT: https://package-cloud.dns.army/ros2/repo-templates
|
||||
GIT_SHA:
|
||||
sh: git rev-parse --short HEAD
|
||||
GIT_REF:
|
||||
sh: git rev-parse --abbrev-ref HEAD
|
||||
cmds:
|
||||
- printf "{{.B_MAGENTA}}Component{{.RESET}} - {{.CYAN}}{{.NAME_COMPONENT}}{{.RESET}}\n"
|
||||
- printf "{{.B_MAGENTA}}URL{{.RESET}} - {{.CYAN}}{{.URL_COMPONENT}}{{.RESET}}\n"
|
||||
- printf "{{.B_MAGENTA}}Branch{{.RESET}} - {{.CYAN}}{{.GIT_REF}} {{.B_WHITE}}{{.RESET}} - {{.B_MAGENTA}}Hash{{.RESET}} - {{.GREEN}}{{.GIT_SHA}}{{.RESET}}\n"
|
||||
|
||||
init:
|
||||
desc: Sync dependencies
|
||||
cmds:
|
||||
- uv sync
|
||||
Reference in New Issue
Block a user