Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170---# yaml-language-server: $schema=https://taskfile.dev/schema.jsonversion: '3'
# TODO: itsvars: TODAY: sh: date +'%Y%m%d'
env: MAIN_BRANCH: master CODEBERG_URL: https://codeberg.org/mimikun/dotfiles
tasks: default: cmds: - task --list silent: true
view: desc: View remote codeberg repository cmds: - cmd: wsl-open $CODEBERG_URL silent: true
patch: desc: Create a patch file, and copy it to Host-Windows cmds: - task: clean - task: diff-patch - task: patch-copy-to-windows silent: true
#tasks/patch/create # TODO: it diff-patch: desc: Create a patch file cmds: - mise tasks run patch:create silent: true
switch-master: desc: Branch switching to master aliases: - switchmaster - smas cmds: - git switch $MAIN_BRANCH silent: true
# TODO: it #tasks/clean clean: desc: File cleanup cmds: - mise tasks run clean silent: true
# TODO: it #tasks/update update: desc: Update some files managed by chezmoi cmds: - mise tasks run update:chezmoi silent: true
# TODO: it #tasks/patch/copy2win patch-copy-to-windows: desc: Copy patch to Host-Windows cmds: - mise tasks run patch:copy2win silent: true
# TODO: it #tasks/lint/ #tasks/lint/actionlint #tasks/lint/ghalint #tasks/lint/pwsh #tasks/lint/selene #tasks/lint/shell #tasks/lint/stylua #tasks/lint/typos #tasks/lint/zizmor lint: desc: Linting - test cmds: - mise tasks run lint silent: true
# TODO: it #tasks/format/ #tasks/format/shell #tasks/format/stylua format: desc: Formatting aliases: - fmt cmds: - mise tasks run format silent: true
clean-fetch: desc: Powerful git fetch aliases: - cleanfetch cmds: - git fetch --all --prune --tags --prune-tags silent: true
delete-branch: desc: Delete unused patch branch aliases: - deleb cmds: - task: clean - task: switch-master - git branch --list "patch*" | xargs -n 1 git branch -D silent: true
pull: desc: Run git pull origin aliases: - pull-origin cmds: - git pull origin $MAIN_BRANCH silent: true
# TODO: it #tasks/git/push push: desc: git push to remote repository cmds: - git push silent: true
#tasks/patch/branch create-patch-branch: desc: Create a patch branch with timestamp aliases: - patch-branch - pab cmds: - git switch -c "patch-{{.TODAY}}" silent: true
morning-routine: desc: every day routine aliases: - morning - mo - mr cmds: - task: clean-fetch - task: delete-branch - task: pull-origin - task: create-patch-branch silent: true
#tasks/git/empty-commits git-empty-commit: desc: Create empty commits aliases: - empty - ec cmds: - echo "hoge" silent: true