mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
chore: align dev build with prod
This commit is contained in:
parent
8ac08ad9e9
commit
865281e844
4
.vscode/tasks.json
vendored
4
.vscode/tasks.json
vendored
|
@ -23,7 +23,7 @@
|
||||||
"build",
|
"build",
|
||||||
"-v",
|
"-v",
|
||||||
"-ldflags",
|
"-ldflags",
|
||||||
"\"-X 'main.Version=development-$(git --no-pager log -1 --pretty=%h-%s)'\""
|
"\"-s -w -X 'main.Version=development-$(git --no-pager log -1 --pretty=%h-%s)' -extldflags '-static'\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
"-o",
|
"-o",
|
||||||
"/home/vscode/bin/oh-my-posh",
|
"/home/vscode/bin/oh-my-posh",
|
||||||
"-ldflags",
|
"-ldflags",
|
||||||
"\"-X 'main.Version=development-$(git --no-pager log -1 --pretty=%h-%s)'\""
|
"\"-s -w -X 'main.Version=development-$(git --no-pager log -1 --pretty=%h-%s)' -extldflags '-static'\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue