Browse files

Merge branch 'nuget'

  • Loading branch information...
tomlokhorst committed Apr 21, 2011
2 parents 2a014eb + 9f81e91 commit 41b26424863ea004b4c4dfc3cce839fda34739d3
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<package xmlns="">
+ <metadata>
+ <id>CoffeeSharp</id>
+ <version>0.1</version>
+ <authors>Tom Lokhorst</authors>
+ <description>
+CoffeeScript compiler for Windows.
+With a HttpHandler, command-line tool and a .NET library.
+For ASP.NET projects: After installing this package, all .coffee files will be compiled on the fly by the HttpHandler and returned as JavaScript.
+Note: For production usage, it is recommened to compile all CoffeeScript files from a build system using the command-line compiler.
+ </description>
+ <projectUrl></projectUrl>
+ <iconUrl></iconUrl>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <tags>CoffeeScript Compiler JavaScript coffee</tags>
+ </metadata>
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+ <system.web>
+ <httpHandlers>
+ <add path="*.coffee" verb="GET" type="CoffeeSharp.CoffeeScriptHttpHandler, CoffeeScriptHttpHandler" />
+ </httpHandlers>
+ </system.web>
@@ -0,0 +1,20 @@
+# Quickly hacked up "build" file to create NuGet package
+# remove whatever was left from previous build
+remove-item -recurse -force NuGet\lib
+remove-item -recurse -force NuGet\tool
+# copy files from a succesfull Visual Studio release build
+new-item -itemtype directory NuGet\lib
+new-item -itemtype directory NuGet\tool
+Copy-Item CoffeeScriptHttpHandler\bin\Release\CoffeeScriptHttpHandler.dll NuGet\lib
+Copy-Item CoffeeScriptHttpHandler\bin\Release\CoffeeSharp.dll NuGet\lib
+Copy-Item CoffeeScriptHttpHandler\bin\Release\Jurassic.dll NuGet\lib
+Copy-Item Coffee\bin\Release\Coffee.exe NuGet\tool
+Copy-Item Coffee\bin\Release\CoffeeSharp.dll NuGet\tool
+Copy-Item Coffee\bin\Release\Jurassic.dll NuGet\tool
+# actual packaging
+tools\NuGet.exe pack NuGet\CoffeeSharp.nuspec
File renamed without changes.
File renamed without changes.
Binary file not shown.

0 comments on commit 41b2642

Please sign in to comment.