mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-29 12:01:07 -08:00
feat(devcontainer): auto build oh-my-posh at creation
This commit is contained in:
parent
4baeed8cc9
commit
df07df9e35
|
@ -73,5 +73,9 @@
|
|||
}
|
||||
},
|
||||
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
||||
"remoteUser": "vscode"
|
||||
"remoteUser": "vscode",
|
||||
// This is running the same command as the VSCode Task 'devcontainer: rebuild oh-my-posh'
|
||||
// It Compiles *oh-my-posh* from this repo while **overwriting** your preinstalled stable release.'
|
||||
// Ideal for getting straight into developing & testing whilst using a devcontainer
|
||||
"updateContentCommand": "cd src && go build -v -buildvcs=false -o /home/vscode/bin/oh-my-posh -ldflags \"-s -w -X 'github.com/jandedobbeleer/oh-my-posh/src/build.Version=development-$(git --no-pager log -1 --pretty=%h-%s)' -extldflags '-static'\""
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue