Add test makefile for easy execution
This commit is contained in:
parent
bbe5bdcb2f
commit
d872de3f46
|
@ -0,0 +1,7 @@
|
|||
export PATH := $(HOME)/.cargo/bin/:$(PATH)
|
||||
|
||||
test_cpp_out: always
|
||||
@cargo build --manifest-path ../cpp_out/Cargo.toml --release
|
||||
@./../cpp_out/target/release/cpp_out
|
||||
|
||||
always: ;
|
|
@ -23,6 +23,17 @@
|
|||
"group": {
|
||||
"kind": "build",
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "run test make",
|
||||
"type": "shell",
|
||||
"command": "wsl make -f Test.mk test_${input:project}",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
},
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/Tests"
|
||||
}
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
|
|
Loading…
Reference in New Issue