Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Commit 992e86f

Browse files
committed
Switch to paket #7
1 parent 982296b commit 992e86f

6 files changed

+34
-10
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*.swp
22
*.pyc
3+
paket.exe
34
ftplugin/bin/
45
packages/

install.cmd

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
@echo off
22

3-
pushd %~dp0
4-
53
IF EXIST packages\FAKE\tools\Fake.exe GOTO FAKEINSTALLED
64

7-
"..\NuGet.exe" "install" "FAKE" "-OutputDirectory" "packages" "-ExcludeVersion" "-Prerelease"
8-
9-
:FAKEINSTALLED
5+
paket.bootstrapper.exe
6+
if errorlevel 1 (
7+
exit /b %errorlevel%
8+
)
109

11-
SET TARGET="All"
10+
paket.exe restore
11+
if errorlevel 1 (
12+
exit /b %errorlevel%
13+
)
1214

13-
IF NOT [%1]==[] (set TARGET="%1")
14-
15-
"packages\FAKE\tools\Fake.exe" "build.fsx" "target=%TARGET%"
15+
:FAKEINSTALLED
1616

17-
popd
17+
packages\FAKE\tools\FAKE.exe build.fsx %*
1818

install.sh

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
if [ -e ./packages/FAKE/tools/Fake.exe ]
2+
then
3+
mono paket.bootstrapper.exe
4+
exit_code=$?
5+
if [ $exit_code -ne 0 ]; then
6+
exit $exit_code
7+
fi
8+
9+
mono paket.exe restore
10+
exit_code=$?
11+
if [ $exit_code -ne 0 ]; then
12+
exit $exit_code
13+
fi
14+
fi
15+
16+
mono packages/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx

paket.bootstrapper.exe

13 KB
Binary file not shown.

paket.dependencies

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source https://nuget.org/api/v2
2+
3+
nuget FAKE

paket.lock

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
NUGET
2+
remote: https://nuget.org/api/v2
3+
specs:
4+
FAKE (3.33.0)

0 commit comments

Comments
 (0)