Skip to content

Commit 998d5d6

Browse files
committed
Scaffold's files
1 parent 0f17e5a commit 998d5d6

16 files changed

+729
-0
lines changed

.paket/paket.bootstrapper.exe

14.5 KB
Binary file not shown.

.paket/paket.targets

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<!-- Enable the restore command to run before builds -->
5+
<RestorePackages Condition=" '$(RestorePackages)' == '' ">true</RestorePackages>
6+
<!-- Download Paket.exe if it does not already exist -->
7+
<DownloadPaket Condition=" '$(DownloadPaket)' == '' ">true</DownloadPaket>
8+
<PaketToolsPath>$(MSBuildThisFileDirectory)</PaketToolsPath>
9+
<PaketRootPath>$(MSBuildThisFileDirectory)..\</PaketRootPath>
10+
</PropertyGroup>
11+
<PropertyGroup>
12+
<!-- Paket command -->
13+
<PaketExePath Condition=" '$(PaketExePath)' == '' ">$(PaketToolsPath)paket.exe</PaketExePath>
14+
<PaketBootStrapperExePath Condition=" '$(PaketBootStrapperExePath)' == '' ">$(PaketToolsPath)paket.bootstrapper.exe</PaketBootStrapperExePath>
15+
<PaketCommand Condition=" '$(OS)' == 'Windows_NT'">"$(PaketExePath)"</PaketCommand>
16+
<PaketCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --runtime=v4.0.30319 "$(PaketExePath)"</PaketCommand>
17+
<PaketBootStrapperCommand Condition=" '$(OS)' == 'Windows_NT'">"$(PaketBootStrapperExePath)"</PaketBootStrapperCommand>
18+
<PaketBootStrapperCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --runtime=v4.0.30319 $(PaketBootStrapperExePath)</PaketBootStrapperCommand>
19+
<!-- Commands -->
20+
<RestoreCommand>$(PaketCommand) restore</RestoreCommand>
21+
<DownloadPaketCommand>$(PaketBootStrapperCommand)</DownloadPaketCommand>
22+
<!-- We need to ensure packages are restored prior to assembly resolve -->
23+
<BuildDependsOn Condition="$(RestorePackages) == 'true'">RestorePackages; $(BuildDependsOn);</BuildDependsOn>
24+
</PropertyGroup>
25+
<Target Name="CheckPrerequisites">
26+
<!-- Raise an error if we're unable to locate paket.exe -->
27+
<Error Condition="'$(DownloadPaket)' != 'true' AND !Exists('$(PaketExePath)')" Text="Unable to locate '$(PaketExePath)'" />
28+
<MsBuild Targets="DownloadPaket" Projects="$(MSBuildThisFileFullPath)" Properties="Configuration=NOT_IMPORTANT;DownloadPaket=$(DownloadPaket)" />
29+
</Target>
30+
<Target Name="DownloadPaket">
31+
<Exec Command="$(DownloadPaketCommand)" Condition=" '$(DownloadPaket)' == 'true' AND !Exists('$(PaketExePath)')" />
32+
</Target>
33+
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
34+
<Exec Command="$(RestoreCommand)" WorkingDirectory="$(PaketRootPath)" />
35+
</Target>
36+
</Project>

.travis.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
language: csharp
2+
3+
sudo: false # use the new container-based Travis infrastructure
4+
5+
script:
6+
- ./build.sh All

RELEASE_NOTES.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#### 0.0.1-beta - October 24 2013
2+
* Initial release

appveyor.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
init:
2+
- git config --global core.autocrlf input
3+
build_script:
4+
- cmd: build.cmd
5+
test: off
6+
version: 0.0.1.{build}
7+
artifacts:
8+
- path: bin
9+
name: bin

build.cmd

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
@echo off
2+
cls
3+
4+
.paket\paket.bootstrapper.exe
5+
if errorlevel 1 (
6+
exit /b %errorlevel%
7+
)
8+
9+
.paket\paket.exe restore
10+
if errorlevel 1 (
11+
exit /b %errorlevel%
12+
)
13+
14+
IF NOT EXIST build.fsx (
15+
.paket\paket.exe update
16+
packages\FAKE\tools\FAKE.exe init.fsx
17+
)
18+
packages\FAKE\tools\FAKE.exe build.fsx %*

0 commit comments

Comments
 (0)