Skip to content

Commit

Permalink
improved cli and added tests. fixed BM implementation bugs(I hope)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthakvk committed May 5, 2024
1 parent 92ce6d3 commit 812ba7c
Show file tree
Hide file tree
Showing 14 changed files with 607 additions and 205 deletions.
64 changes: 64 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'grepr'",
"cargo": {
"args": [
"build",
"--bin=grepr",
"--package=grepr"
],
"filter": {
"name": "grepr",
"kind": "bin"
}
},
"args": ["xyz", "test_sm.txt", "-e"],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'grepr'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=grepr",
"--package=grepr"
],
"filter": {
"name": "grepr",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'grepr_lib'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=grepr_lib"
],
"filter": {
"name": "grepr_lib",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"cmake.configureOnOpen": false
}
Loading

0 comments on commit 812ba7c

Please sign in to comment.