Skip to content

Commit 21b46ca

Browse files
committed
us proto build on mac and linux
1 parent 98a29ff commit 21b46ca

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

eng/build.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,13 @@ function BuildSolution {
217217
cp $artifacts_dir/bin/fslex/$bootstrap_config/netcoreapp2.0/* $bootstrap_dir
218218
cp $artifacts_dir/bin/fsyacc/$bootstrap_config/netcoreapp2.0/* $bootstrap_dir
219219

220+
MSBuild "$repo_root/proto.proj" \
221+
/restore \
222+
/p:Configuration=$bootstrap_config \
223+
/t:Build
224+
225+
cp $artifacts_dir/bin/fsc/$bootstrap_config/netcoreapp2.0/* $bootstrap_dir
226+
220227
# do real build
221228
MSBuild $toolset_build_proj \
222229
$bl \
@@ -230,6 +237,7 @@ function BuildSolution {
230237
/p:Publish=$publish \
231238
/p:UseRoslynAnalyzers=$enable_analyzers \
232239
/p:ContinuousIntegrationBuild=$ci \
240+
/p:BootstrapBuildPath="$bootstrap_dir" \
233241
/p:QuietRestore=$quiet_restore \
234242
/p:QuietRestoreBinaryLog="$binary_log" \
235243
$properties

0 commit comments

Comments
 (0)