Commit 53d2b5e1 authored by Dr. Markus Schrenker's avatar Dr. Markus Schrenker
Browse files

1.0.143

parents e57b708f 13459fdd
<?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 Microsofts .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>
\ No newline at end of file
# 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
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>clojure</id>
<title>Clojure</title>
<version>1.2.0</version>
<authors>Rich Hickey</authors>
<owners>Elliando Dias</owners>
<summary>It is designed to be a general-purpose language, combining the approachability and
interactive development of a scripting language with an efficient and robust infrastructure
for multithreaded programming. Clojure is a compiled language - it compiles directly to
JVM bytecode, yet remains completely dynamic. Every feature supported by Clojure is supported at runtime.
Clojure provides easy access to the Java frameworks, with optional type hints and type inference,
to ensure that calls to Java can avoid reflection</summary>
<description>Clojure is a dynamic programming language that targets the Java Virtual Machine</description>
<projectUrl>http://clojure.org/</projectUrl>
<tags>clojure java development</tags>
<copyright>Copyright 2008-2012 Rich Hickey</copyright>
<licenseUrl>http://clojure.org/license</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>http://clojure.org/file/view/clojure-icon.gif</iconUrl>
<!--<dependencies>
<dependency id="" version="" />
</dependencies>-->
<releaseNotes></releaseNotes>
</metadata>
</package>
\ No newline at end of file
# import-module C:\Chocolatey\chocolateyInstall\helpers\chocolateyInstaller
function get-binRoot() {
if($env:chocolatey_bin_root -ne $null) {
$binRoot = $env:chocolatey_bin_root
}
else {
$binRoot = 'bin'
}
return Join-Path $env:systemdrive $binRoot
}
$binRoot = get-binRoot
$clojure_version = '1.2.0'
$clojure_contrib_version = '1.2.0'
$jline_version = '1.0'
$clojure_home = Join-Path $binRoot "clojure-$clojure_version"
try {
# installing clojure
$name = "clojure-$clojure_version"
Install-ChocolateyZipPackage $name "http://github.com/downloads/clojure/clojure/$name.zip" $binRoot
# installing jline
# http://jline.sourceforge.net/
$jline_name = "jline-$jline_version"
Install-ChocolateyZipPackage $jline_name "http://ufpr.dl.sourceforge.net/project/jline/jline/$jline_version/$jline_name.zip" $env:TEMP
Move-Item (Join-Path $env:TEMP "$jline_name\$jline_name.jar") $clojure_home -force
# installing clojure-contrib
# https://github.com/clojure/clojure-contrib
$clojure_contrib_name = "clojure-contrib-$clojure_contrib_version"
Install-ChocolateyZipPackage $clojure_contrib_name "http://github.com/downloads/clojure/clojure-contrib/$clojure_contrib_name.zip" $env:TEMP
Move-Item (Join-Path $env:TEMP "$clojure_contrib_name\target\$clojure_contrib_name.jar") $clojure_home -force
# clj.bat
$clj_bat = Join-Path $clojure_home 'clj.bat'
"@echo off
REM :: Usage:
REM ::
REM :: clj # Starts REPL
REM :: clj my_script.clj # Runs the script
REM :: clj my_script.clj arg1 arg2 # Runs the script with arguments
set CLOJURE_DIR=$clojure_home
set CLOJURE_JAR=%CLOJURE_DIR%\clojure.jar
set CONTRIB_JAR=%CLOJURE_DIR%\$clojure_contrib_name.jar
set JLINE_JAR=%CLOJURE_DIR%\$jline_name.jar
if (%1) == () (
java -cp .;%JLINE_JAR%;%CLOJURE_JAR%;%CONTRIB_JAR% jline.ConsoleRunner clojure.main
) else (
java -cp .;%CLOJURE_JAR%;%CONTRIB_JAR% clojure.main %1 -- %*
)" | Out-File $clj_bat -encoding ASCII
# ..\chocolatey\bin\clj.bat
$clj_link = Join-Path $env:CHOCOLATEYINSTALL 'bin\clj.bat'
"@echo off
$clj_bat %*" | Out-File $clj_link -encoding ASCII
Write-ChocolateySuccess 'Clojure'
Write-Host "usage: in prompt, type clj"
} catch {
Write-ChocolateyFailure 'Clojure' "$($_.Exception.Message)"
throw
}
\ No newline at end of file
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>CoffeeScript</id>
<title>CoffeeScript</title>
<version>1.3.1.01</version>
<authors>Jeremy Ashkenas</authors>
<owners>Elliando Dias</owners>
<summary>CoffeeScript is a little language that compiles into JavaScript</summary>
<description>CoffeeScript is a little language that compiles into JavaScript. Underneath all those
awkward braces and semicolons, JavaScript has always had a gorgeous object model at its heart.
CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way</description>
<projectUrl>http://coffeescript.org/</projectUrl>
<tags>coffeescript javascript</tags>
<copyright>Copyright (c) 2009-2012 Jeremy Ashkenas</copyright>
<licenseUrl>https://github.com/jashkenas/coffee-script/blob/master/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>http://bodil.github.com/coffeescript/media/coffeescript_logo.png</iconUrl>
<dependencies>
<dependency id="nodejs.install"/>
</dependencies>
<releaseNotes></releaseNotes>
</metadata>
</package>
\ No newline at end of file
# SETX NODE_PATH %PROGRAMFILES%\nodejs\node_modules
# %APPDATA%\npm\node_modules
function is64bit() {
return ([IntPtr]::Size -eq 8)
}
function get-programfilesdir() {
if (is64bit -eq $true) {
(Get-Item "Env:ProgramFiles(x86)").Value
}
else {
(Get-Item "Env:ProgramFiles").Value
}
}
$program_files = get-programfilesdir
cd "$program_files\nodejs"
invoke-expression "npm install -g coffee-script"
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Desktops</id>
<title>Desktops</title>
<version>1.02</version>
<authors>Mark Russinovich and Bryce Cogswell</authors>
<owners>Elliando Dias</owners>
<summary>Desktops allows you to organize your applications on up to four virtual desktops</summary>
<description>Desktops allows you to organize your applications on up to four virtual desktops</description>
<projectUrl>http://technet.microsoft.com/en-us/sysinternals/cc817881.aspx</projectUrl>
<tags>desktops sysinternals virtual-desktops</tags>
<copyright>Copyright 2006-2008 Mark Russinovich and Bryce Cogswell</copyright>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<!--<iconUrl>https://github.com/ferventcoder/nugetpackages/raw/master/Desktops/Desktops.gif</iconUrl>-->
<!--<dependencies>
<dependency id="" version="" />
</dependencies>-->
<releaseNotes></releaseNotes>
</metadata>
</package>
\ No newline at end of file
#unzip
$dest = $env:USERPROFILE
Install-ChocolateyZipPackage 'Desktops' 'http://download.sysinternals.com/files/Desktops.zip' "$dest"
#shortcut
$target = Join-Path $dest 'Desktops.exe'
Install-ChocolateyDesktopLink $target
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Gow</id>
<title>Gow</title>
<version>0.7.0</version>
<authors>Brent R. Matzelle</authors>
<owners>Elliando Dias</owners>
<summary>Gow (Gnu On Windows) is the lightweight alternative to Cygwin. It uses a
convenient Windows installer that installs about 130 extremely useful
open source UNIX applications compiled as native win32 binaries. It is
designed to be as small as possible, about 10 MB, as opposed to Cygwin
which can run well over 100 MB depending upon options</summary>
<description>Unix command line utilities installer for Windows</description>
<projectUrl>https://github.com/bmatzelle/gow/wiki/</projectUrl>
<tags>gow admin linux</tags>
<copyright>Copyright (c) 2006 - 2012 Brent R. Matzelle</copyright>
<licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<!--<iconUrl>https://github.com/ferventcoder/nugetpackages/raw/master/Gow/Gow.gif</iconUrl>-->
<releaseNotes></releaseNotes>
</metadata>
</package>
\ No newline at end of file
$version='0.7.0'
Install-ChocolateyPackage 'Gow' 'exe' '/S' "https://github.com/downloads/bmatzelle/gow/Gow-$version.exe" -validExitCodes @(0)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment