Browse Source

Build: try to switch Paket to magic mode

spatial
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 # FAKE & Paket
packages packages
paket-files paket-files
.paket/paket.exe
.fake .fake
# Generated Doc Files # 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 @echo off
cls cls
.paket\paket.bootstrapper.exe
if errorlevel 1 (
exit /b %errorlevel%
)
.paket\paket.exe restore .paket\paket.exe restore
if errorlevel 1 ( if errorlevel 1 (
exit /b %errorlevel% exit /b %errorlevel%

2
build.sh

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

1
paket.sh

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

5
restore.cmd

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

11
restore.sh

@ -3,13 +3,15 @@
set -eu set -eu
set -o pipefail set -o pipefail
cd `dirname $0` cd "$(dirname "$0")"
PAKET_EXE=.paket/paket.exe
FSIARGS=""
OS=${OS:-"unknown"} OS=${OS:-"unknown"}
if [[ "$OS" != "Windows_NT" ]] if [[ "$OS" != "Windows_NT" ]]
then 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 fi
function run() { function run() {
@ -26,5 +28,4 @@ then
mozroots --import --sync --quiet mozroots --import --sync --quiet
fi fi
run .paket/paket.bootstrapper.exe run $PAKET_EXE restore
run .paket/paket.exe restore

Loading…
Cancel
Save