Skip to content

Commit e0924b8

Browse files
authored
Merge pull request EvilBeaver#542 from nixel2007/feature/build-debugger
Build debugger
2 parents be3554c + 8d919eb commit e0924b8

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

BuildAll.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123

124124
<Copy SourceFiles="@(DbgFiles)" DestinationFolder="$(DebugDest)\bin"/>
125125
<Move SourceFiles="$(OutputPathForBuild)\package.json" DestinationFolder="$(DebugDest)"/>
126+
<Move SourceFiles="$(OutputPathForBuild)\images\mono-debug-icon.png" DestinationFolder="$(DebugDest)\images"/>
126127

127128
<ItemGroup>
128129

Jenkinsfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,25 @@ pipeline {
4141

4242
}
4343

44+
stage('VSCode debugger Build') {
45+
agent {
46+
docker {
47+
image 'node'
48+
label 'linux'
49+
}
50+
}
51+
52+
steps {
53+
unstash 'buildResults'
54+
sh 'npm install vsce'
55+
script {
56+
def vsceBin = pwd() + "/node_modules/.bin/vsce"
57+
sh "cd install/build/vscode && ${vsceBin} package"
58+
archiveArtifacts artifacts: 'install/build/vscode/*.vsix', fingerprint: true
59+
}
60+
}
61+
}
62+
4463
stage('Windows testing') {
4564
agent { label 'windows' }
4665

src/DebugServer/DebugServer.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@
6464
<None Include="package.json">
6565
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
6666
</None>
67+
<None Include="images\mono-debug-icon.png">
68+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
69+
</None>
6770
<None Include="packages.config" />
6871
</ItemGroup>
6972
<ItemGroup>

0 commit comments

Comments
 (0)