mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-24 22:27:21 -04:00
[doit] rename dodo.py to do.py and make it executable
This commit is contained in:
parent
daff79af18
commit
5f9bc45c5f
2 changed files with 10 additions and 2 deletions
2
.github/workflows/Documentation.yml
vendored
2
.github/workflows/Documentation.yml
vendored
|
@ -97,4 +97,4 @@ jobs:
|
|||
run: pip install doit
|
||||
|
||||
- name: '🚀 Deploy to GitHub-Pages'
|
||||
run: doit DeployToGitHubPages "update ${{ github.sha }}"
|
||||
run: ./do.py DeployToGitHubPages "update ${{ github.sha }}"
|
||||
|
|
10
dodo.py → do.py
Normal file → Executable file
10
dodo.py → do.py
Normal file → Executable file
|
@ -1,10 +1,14 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
# doit
|
||||
|
||||
from sys import executable
|
||||
from sys import executable, argv as sys_argv, exit as sys_exit
|
||||
from os import environ
|
||||
from pathlib import Path
|
||||
|
||||
from doit.action import CmdAction
|
||||
from doit.cmd_base import ModuleTaskLoader
|
||||
from doit.doit_cmd import DoitMain
|
||||
|
||||
DOIT_CONFIG = {"verbosity": 2, "action_string_formatting": "both"}
|
||||
|
||||
|
@ -30,3 +34,7 @@ def task_DeployToGitHubPages():
|
|||
"doc": "Create a clean branch in subdir 'public' and push to branch 'gh-pages'",
|
||||
"pos_arg": "posargs",
|
||||
}
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys_exit(DoitMain(ModuleTaskLoader(globals())).run(sys_argv[1:]))
|
Loading…
Add table
Add a link
Reference in a new issue