Skip to content

Clojure can't find and compile scripts in the current directory #4

@mcandre

Description

@mcandre

Specs:

Clojure 1.2.0 and 1.3.0 (tried 'em both, and MacPorts Clojure and Homebrew Clojure)
Mac OS X 10.6.6
MacBook Pro 5,1

$ cat hello.clj
#!/usr/bin/env clj

(ns hello
    (:gen-class))

(defn -main
    [greetee]
    (println (str "Hello " greetee "!")))
$ clj
Clojure 1.3.0-master-SNAPSHOT
user=> (compile 'hello)
CompilerException java.io.IOException: No such file or directory, compiling:(hello.clj:3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions