Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Version 2.5 #9

Merged
merged 3 commits into from
Sep 10, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BuildReleaseTaskItem/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
],
"instanceNameFormat": "$fileinputname$",
"execution": {
"PowerShell": {
"PowerShell3": {
"target": "$(currentDirectory)\\$fileinputname$.ps1",
"argumentFormat": "",
"workingDirectory": "$(currentDirectory)"
Expand Down
3 changes: 3 additions & 0 deletions BuildReleaseTaskItem/task.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ param(
)

Write-Host "Starting $fileinputname$"
Trace-VstsEnteringInvocation $MyInvocation

try {

} catch {

} finally {
Trace-VstsLeavingInvocation $MyInvocation
}

Write-Host "Ending $fileinputname$"
3 changes: 3 additions & 0 deletions VSTSBuildTask/ExampleTask/ExampleTask.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ param(
)

Write-Host "Starting ExampleTask"
Trace-VstsEnteringInvocation $MyInvocation

try {

} catch {

} finally {
Trace-VstsLeavingInvocation $MyInvocation
}

Write-Host "Ending ExampleTask"
2 changes: 1 addition & 1 deletion VSTSBuildTask/ExampleTask/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
],
"instanceNameFormat": "ExampleTask",
"execution": {
"PowerShell": {
"PowerShell3": {
"target": "$(currentDirectory)\\ExampleTask.ps1",
"argumentFormat": "",
"workingDirectory": "$(currentDirectory)"
Expand Down
2 changes: 1 addition & 1 deletion VSTSBuildTask/gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = function (grunt) {
stderr: true
},
package: {
command: "tfx extension create --manifest-globs vss-extension.json",
command: "tfx extension create --manifest-globs <%= settings.package.manifestGlobs %>",
stdout: true,
stderr: true
}
Expand Down
17 changes: 9 additions & 8 deletions VSTSBuildTask/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-copy": "^0.8.2",
"grunt-contrib-jasmine": "^0.9.2",
"grunt-exec": "^0.4.6",
"jasmine": "^2.4.1",
"tfx-cli": "^0.3.15",
"tsd": "^0.6.5",
"vss-web-extension-sdk": "^1.98.0"
"grunt": "^1.0.0",
"grunt-contrib-copy": "*",
"grunt-contrib-jasmine": "*",
"grunt-exec": "*",
"jasmine": "^2.5.1",
"tfx-cli": "^0.3.30",
"typings": "^1.3.3",
"vss-web-extension-sdk": "^1.98.0",
"vsts-task-sdk": "^0.6.4"
},
"name": "",
"private": true,
Expand Down
3 changes: 3 additions & 0 deletions VSTSExt/ProjectTemplateTS.vstemplate
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
<Folder Name="q" TargetFolderName="q">
<ProjectItem ReplaceParameters="true" TargetFileName="Q.d.ts">Q.d.ts</ProjectItem>
</Folder>
<Folder Name="requirejs" TargetFolderName="requirejs">
<ProjectItem ReplaceParameters="true" TargetFileName="require.d.ts">require.d.ts</ProjectItem>
</Folder>
<ProjectItem ReplaceParameters="true" TargetFileName="tsd.d.ts">tsd.d.ts</ProjectItem>

</Folder>
Expand Down
1 change: 1 addition & 0 deletions VSTSExt/VSTSExt.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
<TypeScriptCompile Include="typings\jquery\jquery.d.ts" />
<TypeScriptCompile Include="typings\knockout\knockout.d.ts" />
<TypeScriptCompile Include="typings\q\Q.d.ts" />
<TypeScriptCompile Include="typings\requirejs\require.d.ts" />
<TypeScriptCompile Include="typings\tsd.d.ts" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
1 change: 1 addition & 0 deletions VSTSExt/VSTSExtension.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<TypeScriptCompile Include="typings\jquery\jquery.d.ts" />
<TypeScriptCompile Include="typings\q\q.d.ts" />
<TypeScriptCompile Include="typings\knockout\knockout.d.ts" />
<TypeScriptCompile Include="typings\requirejs\require.d.ts" />
<TypeScriptCompile Include="typings\tsd.d.ts" />
</ItemGroup>
<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions VSTSExt/gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = function (grunt) {
settings: grunt.file.readJSON("settings.tfx.json"),
exec: {
package: {
command: "tfx extension create --manifest-globs vss-extension.json",
command: "tfx extension create --manifest-globs <%= settings.package.manifestGlobs %>",
stdout: true,
stderr: true
},
Expand All @@ -19,17 +19,17 @@ module.exports = function (grunt) {
stderr: true
},
tsdinit:{
command: "tsd install jquery q knockout",
command: "typings install knockout requirejs",
stdout: true,
stderr: true
},
tsdlink:{
command: "tsd link",
command: "typings init",
stdout: true,
stderr: true
},
publish: {
command: "tfx extension publish --manifest-globs vss-extension.json --share-with <%= settings.publish.shareWith %> --token <%= settings.publish.token %>",
command: "tfx extension publish --manifest-globs <%= settings.package.manifestGlobs %> --share-with <%= settings.publish.shareWith %> --token <%= settings.publish.token %>",
stdout: true,
stderr: true
}
Expand Down
14 changes: 7 additions & 7 deletions VSTSExt/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-copy": "^0.8.2",
"grunt-contrib-jasmine": "^0.9.2",
"grunt-exec": "^0.4.6",
"jasmine": "^2.4.1",
"tfx-cli": "^0.3.15",
"tsd": "^0.6.5",
"grunt": "^1.0.0",
"grunt-contrib-copy": "*",
"grunt-contrib-jasmine": "*",
"grunt-exec": "*",
"jasmine": "^2.5.1",
"tfx-cli": "^0.3.30",
"typings": "^1.3.3",
"vss-web-extension-sdk": "^1.98.0"
},
"name": "",
Expand Down
Loading