Permalink
Browse files

clojure.clr package added

  • Loading branch information...
1 parent 7c6ee56 commit 5fa26887fb2a6b9bf357c7f5bdc319b7db02b59b @adorepump committed May 17, 2012
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
+ <metadata>
+ <id>clojure.clr</id>
+ <title>Clojure.clr</title>
+ <version>1.3.0</version>
+ <authors>Rich Hickey</authors>
+ <owners>Elliando Dias</owners>
+ <summary>ClojureCLR is a native implementation of Clojure on Microsoft’s .Net Framework, programmed in C# and using Microsoft's Dynamic Language Runtime (DLR)</summary>
+ <description>A port of Clojure to the CLR, part of the Clojure project </description>
+ <projectUrl>https://github.com/clojure/clojure-clr/wiki</projectUrl>
+ <tags>clojure .net programming</tags>
+ <copyright>Copyright (c) Rich Hickey. All rights reserved</copyright>
+ <licenseUrl>http://eclipse.org/legal/epl-v10.html</licenseUrl>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <iconUrl>http://clojure.org/file/view/clojure-icon.gif</iconUrl>
+ <!--<dependencies>
+ <dependency id="" version="" />
+ </dependencies>-->
+ <releaseNotes></releaseNotes>
+ </metadata>
+</package>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,22 @@
+# http://clojure.org
+#$lib2_url = 'https://github.com/downloads/clojure/clojure-clr/lib2.zip'
+#Install-ChocolateyZipPackage 'Clojure.NET' $lib2_url "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
+#(For some versions of Windows) Clear the ‘downloaded from the internet flag’ by right-clicking the zip file in the File Explorer and selecting the Unblock box.
+
+$version = '1.3.0'
+$dist_type = 'Debug' # or Release
+$clr_version = '3.5'
+$net_version = gci 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' | sort pschildname -des | select -fi 1 -exp pschildname
+
+if ($net_version.IndexOf('4') -ge 0) {
+ $clr_version = '4.0'
+}
+
+$name = "clojure-clr-$version-$dist_type-$clr_version"
+$url = "https://github.com/downloads/clojure/clojure-clr/$name.zip"
+$dest = Join-Path "$env:USERPROFILE" $name
+Install-ChocolateyZipPackage 'Clojure.NET' $url $dest
+
+#shorcut
+$target = Join-Path $dest 'Clojure.Main.exe'
+Install-ChocolateyDesktopLink $target

0 comments on commit 5fa2688

Please sign in to comment.