Lokal debuggen ermöglichen
This commit is contained in:
1 parent
0c10ff4051
commit
923a35cad1
2 files changed
+6
-1
No files matched your search
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Patch Cargo.toml version from VERSION file before build
|
||||||
|
VERSION=$(cat VERSION)
|
||||||
|
sed -i "s/^version = ".*"/version = \"$VERSION\"/" Cargo.toml
|
||||||
|
exec cargo build
|
||||||
Vendored
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"label": "cargo build",
|
"label": "cargo build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "cargo build",
|
"command": ".vscode/cargo-build-version.sh",
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "build",
|
"kind": "build",
|
||||||
"isDefault": true
|
"isDefault": true
|
||||||
|
|||||||
Reference in new issue
Block a user