Skip to content

Commit 5034c80

Browse files
committed
Add file header
1 parent 88cb8ad commit 5034c80

12 files changed

+41
-2
lines changed

AgentMode/.github/tsql/inner-loop/Build.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Microsoft Corporation. All rights reserved.
2+
# Licensed under the MIT license.
3+
14
param (
25
[string]$ProjectName
36
)

AgentMode/.github/tsql/inner-loop/Publish.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Microsoft Corporation. All rights reserved.
2+
# Licensed under the MIT license.
3+
14
# -SourceFile e.g. ConfMS/bin/Debug/ConfMS.dacpac
25
param (
36
[string]$ProjectName

AgentMode/.github/tsql/inner-loop/Test.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# Run `sqlcmd query "EXEC tSQLt.RunAll`
1+
# Copyright (c) Microsoft Corporation. All rights reserved.
2+
# Licensed under the MIT license.
23

4+
# Run `sqlcmd query "EXEC tSQLt.RunAll`
35
& $env:ProgramFiles\SqlCmd\sqlcmd.exe query "EXEC tSQLt.RunAll"
46

57

AgentMode/.github/tsql/install/copy-tsqlt.dacpac-file.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Microsoft Corporation. All rights reserved.
2+
# Licensed under the MIT license.
3+
14
# This powershell script takes a $projectPath
25
# as a parameter and copies the tSQLt.dacpac file to the $projectPath\Tests
36
# from the "$env:TEMP\tSQLt\tSQLtDacpacs" folder

AgentMode/.github/tsql/install/create-mssql-instance-using-sqlcmd.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Microsoft Corporation. All rights reserved.
2+
# Licensed under the MIT license.
3+
14
# This script takes a parameter which is the context-name (passed into sqlcmd)
25
# and creates a new SQL Server instance using the sqlcmd command line tool:
36
# `sqlcmd create mssql --tag 2019-latest --context-name $ContextName`

AgentMode/.github/tsql/install/ensure-build-sql-templates-installed.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Microsoft Corporation. All rights reserved.
2+
# Licensed under the MIT license.
3+
14
# Use the dotnet CLI to see if Build.Sql.Templates are installed, if not, install them
25

36
# Check if Build.Sql.Templates is installed

AgentMode/.github/tsql/install/ensure-sqlcmd-installed.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Microsoft Corporation. All rights reserved.
2+
# Licensed under the MIT license.
3+
14
# Ensure sqlcmd is installed in C:\Program Files\SqlCmd\sqlcmd.exe
25

36
# Test if 'sqlcmd' is available in `C:\Program Files\SqlCmd`

AgentMode/.github/tsql/install/ensure-sqlpackage-installed.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Microsoft Corporation. All rights reserved.
2+
# Licensed under the MIT license.
3+
14
# Check to see if SqlPackage is installed by running:
25
# `dotnet tool list --format json -g microsoft.sqlpackage`
36
# if it is installed, the response will be in the form:

AgentMode/.github/tsql/install/ensure-tsqlt-installed.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Microsoft Corporation. All rights reserved.
2+
# Licensed under the MIT license.
3+
14
# Install tSQLt if it is not already installed
25

36
# If tSQLt is not installed:

AgentMode/.github/tsql/install/get-sql-connection-string.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Microsoft Corporation. All rights reserved.
2+
# Licensed under the MIT license.
3+
14
# Return the ADO.Net SQL connection string by running `sqlcmd config connection-strings`, which will return
25
#
36

0 commit comments

Comments
 (0)