Skip to content

Commit 74e6ccc

Browse files
Handle missing artifacts dir
1 parent eb959ea commit 74e6ccc

File tree

5 files changed

+19
-438
lines changed

5 files changed

+19
-438
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ npmpackoutput/
55
test/webpacktest/package*.json
66
test/webpacktest/dist/
77
artifacts/
8+
dist/

.vsts-pipelines/builds/ci-public.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
trigger:
2+
- master
3+
- release/*
4+
5+
resources:
6+
repositories:
7+
- repository: buildtools
8+
type: github
9+
endpoint: DotNet-Bot GitHub Connection
10+
name: aspnet/BuildTools
11+
ref: refs/heads/release/2.2
12+
13+
phases:
14+
- template: .vsts-pipelines/templates/phases/default-build.yml@buildtools
15+
parameters:
16+
agentOs: Windows

build.msbuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<Exec Command="npm install" />
2121
<Exec Command="npm version --no-git-tag-version --allow-same-version $(PackageVersion)" />
2222
<Exec Command="$(MSBuildThisFileDirectory)node_modules\.bin\gulp" />
23+
<MakeDir Directories="$(ArtifactsDir)" />
2324
<Copy
2425
SourceFiles="@(DistDirFiles)"
2526
DestinationFolder="$(ArtifactsDir)" OverwriteReadOnlyFiles="true"/>
@@ -38,4 +39,4 @@
3839
<Exec Command="npm install webpack webpack-cli --save-dev" WorkingDirectory="$(WebPackTestDir)" />
3940
<Exec Command="npx webpack" WorkingDirectory="$(WebPackTestDir)" />
4041
</Target>
41-
</Project>
42+
</Project>

0 commit comments

Comments
 (0)