Skip to content

Commit

Permalink
Merge branch 'main' into stuartpa/choco-v0.15.0-package
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartpa committed Oct 10, 2023
2 parents 0386dfa + 53b6fe7 commit ab27fde
Show file tree
Hide file tree
Showing 163 changed files with 150,173 additions and 4,206 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# top-most EditorConfig file
root = true

[*.go]
indent_style = tab
# (Please don't specify an indent_size here; that has too many unintended consequences.)

# IDE0073: File header
file_header_template = Copyright (c) Microsoft Corporation.\nLicensed under the MIT license.
3 changes: 1 addition & 2 deletions .pipelines/include-install-go-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ steps:
command: 'get'
arguments: '-d'
workingDirectory: '$(Build.SourcesDirectory)/cmd/sqlcmd'



- task: Go@0
displayName: 'Go: install gotest.tools/gotestsum'
inputs:
Expand Down
13 changes: 10 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"version": "0.2.0",
"configurations": [



{

"name": "Attach to Process",
Expand All @@ -26,7 +24,7 @@
"request": "launch",
"mode" : "auto",
"program": "${workspaceFolder}/cmd/modern",
"args" : ["-Q", "EXIT(select net_transport from sys.dm_exec_connections)"],
"args" : ["-S", "davidshi-2022", "-g", "-Q", "select nvarcharcol from encrypt.dbo.encrypted", "--driver-logging-level=65"],
},
{
"name" : "Run file query",
Expand All @@ -36,5 +34,14 @@
"program": "${workspaceFolder}/cmd/modern",
"args" : ["-S", "np:.", "-i", "${workspaceFolder}/cmd/sqlcmd/testdata/select100.sql"],
},
{
"name" : "Run sqlcmdlinter",
"type" : "go",
"request" : "launch",
"mode" : "auto",
"program": "${workspaceFolder}/cmd/sqlcmd-linter",
"args" : ["${workspaceFolder}/..."]

}
]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"go.lintTool": "golangci-lint",
"go.lintOnSave": "workspace"
}
Loading

0 comments on commit ab27fde

Please sign in to comment.