not-raspberry

Results 3 comments of not-raspberry

I expect extra command-line parameters to be ignored by `lein-ring` and handled by the application (by parsing `*command-line-args*` in some function hooked into `:init` in project.clj). For example: - `$...

Environment variables have their own issues. Mostly, they are implicit and slightly clumsy. That's a philosophical dispute. Writing my own `-main` is the way I chose. Regarding losing ability to...

@rpazyaquian Add ``` :main your-app.core ``` to `defproject` in project.clj. The `your-app.core` namespace is where you place your `-main`.