Skip to content

Commit

Permalink
Добавил launch.json для старта тестов в git
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilBeaver committed May 10, 2024
1 parent cf296da commit d6c2d47
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 69 deletions.
137 changes: 68 additions & 69 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,69 +1,68 @@
.vs/
.idea/
.DS_Store
.vscode/
tmp/

*.vssscc
*.vspscc

*.suo
*.user
*.sln.iml

/src/**/[Bb]in/
/src/**/[Oo]bj/
[Dd]ebug
[Rr]elease
/*.log

/src/**/*.exe
/src/**/*.dll
!/src/packages/**/*.dll
*_i.c
*_p.c
*_i.h
*.ilk
*.tlb

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
JetBrains.ReSharper.CommandLineTools

# CI and full build|deploy
built/
*.os.xml
/src/packages/DotNetZip.1.9.3/lib/net20

# Snegopat
/src/ScriptEngine.Snegopat/dlldata.c

# Snegopat autogenerated interfaces
src/ScriptEngine.Snegopat/Snegopat_h.h

# Песональный вспомагательный скрипт
build.user.bat
src/packages/
src/DebugServer/node_modules/
# Visual Studio OpenCover and Test result
src/OpenCover
TestResult.xml
tests/component/Component.dll
tests/tests.xml

src/oscript/Properties/launchSettings\.json

*.DotSettings
.vs/
.idea/
.DS_Store
tmp/

*.vssscc
*.vspscc

*.suo
*.user
*.sln.iml

/src/**/[Bb]in/
/src/**/[Oo]bj/
[Dd]ebug
[Rr]elease
/*.log

/src/**/*.exe
/src/**/*.dll
!/src/packages/**/*.dll
*_i.c
*_p.c
*_i.h
*.ilk
*.tlb

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
JetBrains.ReSharper.CommandLineTools

# CI and full build|deploy
built/
*.os.xml
/src/packages/DotNetZip.1.9.3/lib/net20

# Snegopat
/src/ScriptEngine.Snegopat/dlldata.c

# Snegopat autogenerated interfaces
src/ScriptEngine.Snegopat/Snegopat_h.h

# Песональный вспомагательный скрипт
build.user.bat
src/packages/
src/DebugServer/node_modules/
# Visual Studio OpenCover and Test result
src/OpenCover
TestResult.xml
tests/component/Component.dll
tests/tests.xml

src/oscript/Properties/launchSettings\.json

*.DotSettings
10 changes: 10 additions & 0 deletions src/VSCode.DebugAdapter/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"version": "0.1.0",
"configurations": [{
"name": "Launch Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}"]
}]
}
32 changes: 32 additions & 0 deletions tests/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
// 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": [
{
"name": "LINUX: Run via version 2.0",
"type": "oscript",
"request": "launch",
"program": "${workspaceRoot}/testrunner.os",
"args": ["-run", "${file}"],
"cwd": "${workspaceRoot}",
"env": {},
"runtimeExecutable": "${workspaceRoot}/../src/oscript/bin/LinuxDebug/net6.0/oscript",
"runtimeArgs": [],
"debugPort": 2801
},
{
"name": "WINDOWS: Run via version 2.0",
"type": "oscript",
"request": "launch",
"program": "${workspaceRoot}/testrunner.os",
"args": ["-run", "${file}"],
"cwd": "${workspaceRoot}",
"env": {},
"runtimeExecutable": "${workspaceRoot}/../src/oscript/bin/Debug/net6.0/oscript",
"runtimeArgs": [],
"debugPort": 2801
}
]
}

0 comments on commit d6c2d47

Please sign in to comment.