forked from rflechner/Suave.Swagger
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create a doc website and rename projects
- Loading branch information
Showing
235 changed files
with
37,745 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,4 @@ | ||
### 1.0 - Unreleased | ||
* More awesome stuff coming | ||
* Added SourceLink for Source Indexing PDB | ||
|
||
#### 0.5.1-beta - November 6 2013 | ||
* Improved quality of solution-wide README.md files | ||
|
||
#### 0.5.0-beta - October 29 2013 | ||
* Improved quality of solution-wide README.md files | ||
|
||
#### 0.0.1-beta - October 24 2013 | ||
* Changed name from fsharp-project-scaffold to FSharp.ProjectScaffold | ||
#### 0.0.1-beta - July 20 2016 | ||
* A first tutorial | ||
* A first DSL | ||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,33 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eu | ||
|
||
cd `dirname $0` | ||
|
||
PAKET_BOOTSTRAPPER_EXE=.paket/paket.bootstrapper.exe | ||
PAKET_EXE=.paket/paket.exe | ||
FAKE_EXE=packages/build/FAKE/tools/FAKE.exe | ||
|
||
FSIARGS="" | ||
FSIARGS2="" | ||
OS=${OS:-"unknown"} | ||
if [ "$OS" != "Windows_NT" ] | ||
#!/bin/bash | ||
if test "$OS" = "Windows_NT" | ||
then | ||
# Can't use FSIARGS="--fsiargs -d:MONO" in zsh, so split it up | ||
# (Can't use arrays since dash can't handle them) | ||
FSIARGS="--fsiargs" | ||
FSIARGS2="-d:MONO" | ||
fi | ||
# use .Net | ||
|
||
run() { | ||
if [ "$OS" != "Windows_NT" ] | ||
then | ||
mono "$@" | ||
else | ||
"$@" | ||
.paket/paket.bootstrapper.exe | ||
exit_code=$? | ||
if [ $exit_code -ne 0 ]; then | ||
exit $exit_code | ||
fi | ||
} | ||
|
||
yesno() { | ||
# NOTE: Defaults to NO | ||
read -p "$1 [y/N] " ynresult | ||
case "$ynresult" in | ||
[yY]*) true ;; | ||
*) false ;; | ||
esac | ||
} | ||
.paket/paket.exe restore | ||
exit_code=$? | ||
if [ $exit_code -ne 0 ]; then | ||
exit $exit_code | ||
fi | ||
|
||
set +e | ||
run $PAKET_BOOTSTRAPPER_EXE | ||
bootstrapper_exitcode=$? | ||
set -e | ||
packages/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx | ||
else | ||
# use mono | ||
mono .paket/paket.bootstrapper.exe | ||
exit_code=$? | ||
if [ $exit_code -ne 0 ]; then | ||
exit $exit_code | ||
fi | ||
|
||
if [ "$OS" != "Windows_NT" ] && | ||
[ $bootstrapper_exitcode -ne 0 ] && | ||
[ $(certmgr -list -c Trust | grep X.509 | wc -l) -le 1 ] && | ||
[ $(certmgr -list -c -m Trust | grep X.509 | wc -l) -le 1 ] | ||
then | ||
echo "Your Mono installation has no trusted SSL root certificates set up." | ||
echo "This may result in the Paket bootstrapper failing to download Paket" | ||
echo "because Github's SSL certificate can't be verified. One way to fix" | ||
echo "this issue would be to download the list of SSL root certificates" | ||
echo "from the Mozilla project by running the following command:" | ||
echo "" | ||
echo " mozroots --import --sync" | ||
echo "" | ||
echo "This will import over 100 SSL root certificates into your Mono" | ||
echo "certificate repository." | ||
echo "" | ||
if yesno "Run 'mozroots --import --sync' now?" | ||
then | ||
mozroots --import --sync | ||
else | ||
echo "Attempting to continue without running mozroots. This might fail." | ||
mono .paket/paket.exe restore | ||
exit_code=$? | ||
if [ $exit_code -ne 0 ]; then | ||
exit $exit_code | ||
fi | ||
# Re-run bootstrapper whether or not the user ran mozroots, because maybe | ||
# they fixed the problem in a separate terminal window. | ||
run $PAKET_BOOTSTRAPPER_EXE | ||
mono packages/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx | ||
fi | ||
|
||
run $PAKET_EXE restore | ||
|
||
[ ! -e build.fsx ] && run $PAKET_EXE update | ||
[ ! -e build.fsx ] && run $FAKE_EXE init.fsx | ||
run $FAKE_EXE "$@" $FSIARGS $FSIARGS2 build.fsx | ||
|
Oops, something went wrong.