Skip to content

Instantly share code, notes, and snippets.

@fbmnds
Created May 19, 2013 10:52
Show Gist options
  • Select an option

  • Save fbmnds/5607350 to your computer and use it in GitHub Desktop.

Select an option

Save fbmnds/5607350 to your computer and use it in GitHub Desktop.
Leiningen CLR
@echo off
echo ;
echo ; starting ~\bin\lein-clr
echo ; ...will fail, if project.clj not found in:
pwd
echo ;
echo ; set cwd with:
echo ; -------------
echo ; (System.IO.Directory/SetCurrentDirectory "c:\\path\\to\\directory")
echo ;
echo ; print environment with:
echo ; -----------------------
echo ; (let [env (System.Environment/GetEnvironmentVariables)]
echo ; (map #(println (.Key %) "=" (.Value %)) env))
echo ;
echo ;
echo ; Exit: Control+C
echo ; Docs: (doc function-name-here)
echo ; (find-doc "part-of-name-here")
echo ; Source: (source function-name-here)
echo ;
lein clr repl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment