Skip to content

Commit

Permalink
NuGet packages created with FAKE now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Davis authored and Ian Davis committed Jul 25, 2016
1 parent 4d63bb8 commit 22511bd
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 156 deletions.
2 changes: 0 additions & 2 deletions .NugetFile

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ release
*.cache
MSBuildOutput.txt
Packages/
build/
.fake/
TestResult*
.paket/paket.exe
1 change: 1 addition & 0 deletions nuget/Archetype.nuspec → Archetype.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
<language>en-US</language>
<tags>C# patterns</tags>
</metadata>
@files@
</package>
28 changes: 0 additions & 28 deletions NuGetPackageBuilder.cmd

This file was deleted.

17 changes: 15 additions & 2 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,23 @@ Target "Test" (fun _ ->
WorkingDir = "./build"
ToolPath = nunit3 })
)


Target "CreatePackage" (fun _ ->
NuGet (fun p ->
{p with
Files = [
(@"src/Archetype/bin/Release/Archetype.dll", Some "lib/net452", None)
]
OutputPath = "./build"
WorkingDir = "."
ToolPath = "packages/NuGet.CommandLine/tools/NuGet.exe"
Version = "1.0.0"}) "Archetype.nuspec"
)

"Clean"
==> "Compile"
==> "Test"
==> "CreatePackage"


RunTargetOrDefault "Test"
RunTargetOrDefault "CreatePackage"
123 changes: 0 additions & 123 deletions chewie.ps1

This file was deleted.

3 changes: 2 additions & 1 deletion paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ source https://nuget.org/api/v2

nuget FAKE
nuget NUnit 3.4.1
nuget NUnit.Runners 3.4.1
nuget NUnit.Runners 3.4.1
nuget NuGet.CommandLine 3.3.0
1 change: 1 addition & 0 deletions paket.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
NUGET
remote: https://www.nuget.org/api/v2
FAKE (4.35)
NuGet.CommandLine (3.3)
NUnit (3.4.1)
NUnit.ConsoleRunner (3.4.1)
NUnit.Extension.NUnitProjectLoader (3.4.1)
Expand Down

0 comments on commit 22511bd

Please sign in to comment.