Created
May 19, 2013 10:52
-
-
Save fbmnds/5607350 to your computer and use it in GitHub Desktop.
Leiningen CLR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @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