Browse Source

Build: try to switch Paket to magic mode

pull/555/merge
Christoph Ruegg 9 years ago
parent
commit
3b864ccd9d
  1. 1
      .gitignore
  2. BIN
      .paket/paket.bootstrapper.exe
  3. BIN
      .paket/paket.exe
  4. 5
      build.cmd
  5. 2
      build.sh
  6. 1
      paket.sh
  7. 5
      restore.cmd
  8. 11
      restore.sh

1
.gitignore

@ -66,7 +66,6 @@ packages/*
# FAKE & Paket
packages
paket-files
.paket/paket.exe
.fake
# Generated Doc Files

BIN
.paket/paket.bootstrapper.exe

Binary file not shown.

BIN
.paket/paket.exe

Binary file not shown.

5
build.cmd

@ -1,11 +1,6 @@
@echo off
cls
.paket\paket.bootstrapper.exe
if errorlevel 1 (
exit /b %errorlevel%
)
.paket\paket.exe restore
if errorlevel 1 (
exit /b %errorlevel%

2
build.sh

@ -5,7 +5,6 @@ set -o pipefail
cd "$(dirname "$0")"
PAKET_BOOTSTRAPPER_EXE=.paket/paket.bootstrapper.exe
PAKET_EXE=.paket/paket.exe
FAKE_EXE=packages/build/FAKE/tools/FAKE.exe
@ -35,6 +34,5 @@ then
mozroots --import --sync --quiet
fi
run $PAKET_BOOTSTRAPPER_EXE
run $PAKET_EXE restore
run $FAKE_EXE "$@" $FSIARGS $FSIARGS2 build.fsx

1
paket.sh

@ -26,5 +26,4 @@ then
mozroots --import --sync --quiet
fi
run .paket/paket.bootstrapper.exe
run .paket/paket.exe "$@"

5
restore.cmd

@ -1,11 +1,6 @@
@echo off
cls
.paket\paket.bootstrapper.exe
if errorlevel 1 (
exit /b %errorlevel%
)
.paket\paket.exe restore
if errorlevel 1 (
exit /b %errorlevel%

11
restore.sh

@ -3,13 +3,15 @@
set -eu
set -o pipefail
cd `dirname $0`
cd "$(dirname "$0")"
PAKET_EXE=.paket/paket.exe
FSIARGS=""
OS=${OS:-"unknown"}
if [[ "$OS" != "Windows_NT" ]]
then
FSIARGS="--fsiargs -d:MONO"
# Allows NETFramework like net45 to be built using dotnet core tooling with mono
export FrameworkPathOverride=$(dirname $(which mono))/../lib/mono/4.5/
fi
function run() {
@ -26,5 +28,4 @@ then
mozroots --import --sync --quiet
fi
run .paket/paket.bootstrapper.exe
run .paket/paket.exe restore
run $PAKET_EXE restore

Loading…
Cancel
Save