File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ if errorlevel 1 (
1010 exit /b %errorlevel%
1111)
1212
13- dotnet fake build.fsx %*
13+ dotnet fake build %*
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- if [ " $OS " = " Windows_NT" ]; then
3- # use .Net
4- .paket/paket.exe restore
5- exit_code=$?
6- if [ $exit_code -ne 0 ]; then
7- exit $exit_code
8- fi
9- packages/build/FAKE/tools/FAKE.exe $@ --fsiargs build.fsx
10- else
11- # use mono
12- mono .paket/paket.exe restore
13- exit_code=$?
14- if [ $exit_code -ne 0 ]; then
15- certificate_count=$( certmgr -list -c Trust | grep X.509 | wc -l)
16- if [ $certificate_count -le 1 ]; then
17- echo " Couldn't download Paket. This might be because your Mono installation"
18- echo " doesn't have the right SSL root certificates installed. One way"
19- echo " to fix this would be to download the list of SSL root certificates"
20- echo " from the Mozilla project by running the following command:"
21- echo " "
22- echo " mozroots --import --sync"
23- echo " "
24- echo " This will import over 100 SSL root certificates into your Mono"
25- echo " certificate repository. Then try running the build script again."
26- fi
27- exit $exit_code
28- fi
29- mono packages/build/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx
2+ dotnet tool restore
3+ exit_code=$?
4+ if [ $exit_code -ne 0 ]; then
5+ exit $exit_code
306fi
7+ dotnet paket restore
8+ exit_code=$?
9+ if [ $exit_code -ne 0 ]; then
10+ exit $exit_code
11+ fi
12+ dotnet fake build
You can’t perform that action at this time.
0 commit comments