leiningen Questions

4

I have a :dev profile set up in my leiningen project file. This defines an :init and :init-ns setting for my repl session. If I launch nrepl in emacs (M-x nrepl-jack-in) with the cursor over the :d...
Christchurch asked 18/8, 2013 at 22:28

3

Solved

using the following instructions: http://www.pgrs.net/2011/10/30/using-local-jars-with-leiningen/ I installed some local jars into local repository. When I want to update the jar in my project,...
Specter asked 8/5, 2012 at 18:10

4

I am working on a project in Clojure. I tried to migrate my latest DB commit to my local using the command PROFILE=dev lein ragtime migrate Getting this error: clojure.lang.Compiler$CompilerExcept...
Wilding asked 1/3, 2019 at 16:46

5

I am an absolute beginner in clojure. I have clojure1.6 and lein (i use ubuntu 15.04). how can i run the clojure file i have created using the terminal? Is there some command like clojure file.clj ...
Halfsole asked 25/5, 2015 at 20:27

2

Solved

Leiningen's defproject macro is an important part of Clojure projects. However, information/documentation about it seems to be very sparse. What are all of the options that defproject supports, a...
Keelia asked 25/10, 2011 at 18:4

1

Solved

I'm playing around with Clojure recently. The most loved dependency management tool in the Clojure ecosystem is Leiningen to my knowledge. But I also found Clojure has provided CLI tools which prob...
Glairy asked 11/11, 2018 at 14:46

2

Solved

Background I have a simple Clojure 1.9 project. It was configured with a minimal .travis.yml. language: clojure lein: 2.8.1 jdk: - openjdk8 - openjdk9 - oraclejdk8 - oraclejdk9 Travis CI The...
Cyn asked 6/6, 2018 at 4:13

3

Solved

I'm working my way through one of my first Clojure programs. The one thing I have left to do is have my program accept command line arguments. The number of args can vary (but needs to be at least ...
Phlogopite asked 27/4, 2018 at 23:31

3

How can I get readline-like (or rlwrap-like) functionality from my REPL when I use the repl function from clojure.main? The background to this is that I'm utilizing and customizing the break funct...

3

I'm using Leiningen to run a Clojure project on my Raspberry Pi 3 (running stretch), previously I used version 2.7.1 with no problems, but upgrading to the latest version on lein (2.8.1) I now get ...
Ducan asked 15/1, 2018 at 17:51

0

I'm trying to set up Cypress tests written in ClojureScript for a project that uses lein-cljsbuild. Using the following configuration, I'm able to compile a single test namespace into a single .js ...

11

Solved

I want to use leiningen to build and develop my clojure project. Is there a way to modify project.clj to tell it to pick some jars from local directories? I have some proprietary jars that cannot ...
Oxheart asked 8/3, 2010 at 20:18

4

Solved

I have followed the instructions here: leiningen.org To install from the lein script. I now have: ~/.lein/self-installs/leiningen-2.4.3-standalone.jar How do I now run leiningen? The instructi...
Stevenage asked 14/9, 2014 at 21:25

2

Solved

I want to create a number of uberjars with different main entrypoints from a single codebase. I see you can specify the main namespace as an argument to lein uberjar but I don't see a way to specif...
Flem asked 12/10, 2013 at 12:57

3

What is the correct workflow/pathway of usage of emacs/cider while developing a compojure/ring-based clojure application? I feel that I can "attach" to my running compojure/ring-process, change it...
Cupellation asked 13/6, 2014 at 18:32

6

Solved

I am trying to get Leiningen and Cygwin working together. One of the problems I think I have is that I have Java installed in "C:\Program Files\Java..." directory. The space appears to be causing ...
Edithe asked 8/7, 2014 at 14:24

1

Solved

On a fresh lein install, when I start the repl via lein repl and enter into the repl: (use 'clojure.math.numeric-tower) It throws an error: FileNotFoundException Could not locate clojure/math/nu...
Gerda asked 30/7, 2017 at 13:2

2

Solved

I noticed that leiningen has a great unit test plugin - you just enter "lein test" :) . However, it's not clear how it "finds" the test files. Is there a specific folder I need ...
Keenakeenan asked 14/10, 2011 at 18:16

3

In my Leiningen project: (defproject com.stackoverflow.clojure/tests "0.1.0-SNAPSHOT" :description "Tests of Clojure test-framework." :url "http://example.com/FIXME" :license {:name "Eclipse Pu...
Plater asked 17/10, 2014 at 7:37

1

Solved

I've set up separate database-url for development and test environments, and this works nicely when running my webapp in the REPL and from the lein test on the command line. Here's my profiles.clj:...
Incompressible asked 6/2, 2017 at 13:57

5

Solved

I want to be able to query or embed the version string set by the leiningen project and display that value to user. Uses include displaying the version string from the CLI, or as a header in a ring...
Tinaret asked 27/6, 2012 at 22:4

3

I'm developing a library and an application which uses this library. I don't have any remote repository for this library, it's only stored on GitHub as a regular project. In my application I want...
Nicky asked 12/1, 2017 at 16:32

1

Solved

this: Run one Clojure test (not all tests in a namespace), with fixtures, from the REPL works fine with repl, how can I do this from command line using Leinigen?
Sforza asked 5/1, 2017 at 12:9

5

Solved

I am not meaning cleaning up the text output of REPL; I mean cleaning up all evaluated results in REPL. During developing, repeatedly C-c C-q and C-c M-j is low efficiency. UPDATE There may be ...
Poultice asked 6/2, 2015 at 17:11

4

Solved

I often find myself executing commands like this at bash : history | grep 'find' For example to look up a fancy find / xargs command i might have ran. Im wondering --- where does the "lein re...
Twotone asked 1/4, 2012 at 15:25

© 2022 - 2024 — McMap. All rights reserved.