Comments (2)
This has nothing to do with selectors: Leiningen determines which namespaces to test before it "preps" a project, and that namespace-scanning process only looks at .clj
files.
Given advice that lein hooks should no longer be used, and the need to use prep-tasks to ensure proper jar generation, I'm not sure how to best go about this.
FWIW, I always have an explicit aliases for testing, deployment, and other operations, so as to not leave things up to chance, e.g.
:aliases {"cleantest" ["do" "clean," "cljx" "once," "test," "cljsbuild" "test"]}
More verbose, yes, but this allows me to know for sure what is going to happen.
I'm open to advice on how to make this all more user-friendly given the constraints we're working with from Leiningen.
from cljx.
A fix for this will require patching Leiningen. This looks like a small change, probably perfect for anyone looking to contribute back.
See technomancy/leiningen#1782
from cljx.
Related Issues (20)
- polling rate HOT 2
- cljx leaking as dependency HOT 10
- Drop hooks
- Current file generation approach is broken with recent leiningen HOT 3
- 0.5.0 release HOT 4
- 0.5.0: Seeing StackOverflowError HOT 2
- 0.5.0 fails to run cljx in sequence of prep tasks HOT 10
- cljx auto generates double output HOT 6
- Endless loop when used from :prep-tasks HOT 1
- Clojure REPL not working if CLJX 0.5.0 & CLJS 2665 on classpath HOT 2
- Catch up with latest ClojureScript HOT 2
- Leiningen 2.5.1 incompatibility of :plugins HOT 5
- Source directories from parent directories don't work HOT 2
- Error handling in cljx-compile
- Characters in a cljx file after #+clj HOT 2
- Environment variables HOT 2
- Break when upgrading from Cljx 0.4.0 to 0.6.0 HOT 4
- REPL integration fails with 0.5.0/0.6.0 but works with 0.4.0 HOT 4
- Requiring unused dependency? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cljx.