geal / sbt-clojure Goto Github PK
View Code? Open in Web Editor NEWSBT plugin building Clojure code
License: MIT License
SBT plugin building Clojure code
License: MIT License
Looking at https://github.com/Geal/sbt-clojure/blob/master/src/main/scala/ClojurePlugin.scala#L47 it seems as though sbt-clojure is designed to have support for clojure tests. However, I can't get them to run. In src/test/clojure/parser-test.clj
:
(ns parser-test
(:use clojure.test
parser))
(deftest a-test
(testing "FIXME, I fail."
(is (= 0 1))))
But sbt test
still says that all tests pass.
I get this message every time clojurec
is run. I'm on Clojure 1.6.0.
I noticed that @rajcspsg updated this with: https://github.com/rajcspsg/sbt-clojure (branch latest_sbt_support).
It's awesome in theory, but the problem to me seems to be that my IntelliJ IDE will still complain that the clojure imports don't exist. As a result, all imports are red and using the functions are red too. That sucks. Is there any way around this, or is there any fix?
Otherwise, I'm stuck just having to compile them separately.
It would be really nice if the plugin automatically handled clojars dependencies ร la leiningen. How are clojure dependencies handled currently?
Clojure files are compiled in the order returned from File.listFiles
.
This may not match the dependency order, resulting in:
java.io.FileNotFoundException: Could not locate test/file1__init.class or test/file1.clj on classpath: , compiling:(file2.clj:1:1)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.