mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
devenv
This commit is contained in:
parent
ffb56b943a
commit
fa91cbda66
4 changed files with 7 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
todo.txt
|
||||
addon-vscode.code-workspace
|
||||
.devcontainer/
|
||||
.vscode/
|
||||
.vscode/
|
||||
|
|
|
@ -21,6 +21,8 @@ hassio_role: manager
|
|||
homeassistant_api: true
|
||||
full_access: true
|
||||
map:
|
||||
- addons:rw
|
||||
- all_addon_configs:rw
|
||||
- backup:rw
|
||||
- data:rw
|
||||
- homeassistant_config:rw
|
||||
|
|
|
@ -13,7 +13,7 @@ readonly CODE_SERVER_VSCODE_DIR="$CODE_SERVER_WORKSPACE_DIR/.vscode"
|
|||
readonly CODE_SERVER_VSCODE_TASKS="$CODE_SERVER_VSCODE_DIR/tasks.json"
|
||||
|
||||
readonly CUSTOM_BASH_SCRIPTS_PATH="/data/vscode/custom_boot_scripts"
|
||||
readonly -a DIRECTORIES=(backup config media share ssl)
|
||||
readonly -a DIRECTORIES=(backup homeassistant media share ssl)
|
||||
|
||||
readonly GIT_USER_PATH=/data/git
|
||||
readonly SSH_USER_PATH=/data/.ssh
|
||||
|
|
|
@ -16,6 +16,7 @@ run (){
|
|||
fi
|
||||
|
||||
git_src
|
||||
show_vars
|
||||
export -f mqtt_push
|
||||
}
|
||||
|
||||
|
@ -50,7 +51,7 @@ mqtt_push() {
|
|||
}
|
||||
|
||||
show_vars() {
|
||||
# echos all env vars
|
||||
# echos all env vars to the log
|
||||
bashio::log.info "ENV VARS:"
|
||||
set -o posix ; set | while IFS='' read -r line
|
||||
do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue