Skip to content

Commit

Permalink
Updating build
Browse files Browse the repository at this point in the history
Moving all outputs to a ./target folder
Simplify clean and gitignore
  • Loading branch information
loudej committed Dec 21, 2011
1 parent 2b94b8c commit 9798ed6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Expand Up @@ -3,12 +3,10 @@ obj
*.suo
*.user
_ReSharper.*
build
test
docs
*.DS_Store
*.userprefs
*.pidb
TestResult.xml
nugetkey
packages
target
13 changes: 7 additions & 6 deletions build.fsx
Expand Up @@ -13,14 +13,15 @@ let mail = "b@bvanderveen.com"
let homepage = "http://github.com/owin/gate"

// directories
let buildDir = "./build/"
let testDir = "./test/"
let deployDir = "./deploy/"
let docsDir = "./docs/"
let targetDir = "./target/"
let buildDir = targetDir + "build/"
let testDir = targetDir + "test/"
let deployDir = targetDir + "deploy/"
let docsDir = targetDir + "docs/"

// tools
let fakePath = "./packages/FAKE.1.52.6.0/tools"
let nunitPath = "./packages/NUnit.2.5.9.10348/Tools"
let nunitPath = "./packages/NUnit.2.5.10.11092/Tools"

// files
let appReferences =
Expand All @@ -40,7 +41,7 @@ let filesToZip =

// targets
Target "Clean" (fun _ ->
CleanDirs [buildDir; testDir; deployDir; docsDir]
CleanDirs [targetDir]
)

Target "BuildApp" (fun _ ->
Expand Down
3 changes: 2 additions & 1 deletion packages.config
@@ -1,3 +1,4 @@
<packages>
<package id="FAKE" version="1.52.6.0" />
<package id="FAKE" version="1.52.6.0" />
<package id="NUnit" version="2.5.10.11092" />
</packages>

0 comments on commit 9798ed6

Please sign in to comment.