/try-virgil

Example Java/Clojure/auto-reloaded project using Virgil

Primary LanguageClojureMIT LicenseMIT

try-virgil

Java/Clojure interop project automatically reloaded with virgil and lein-auto.

Basic Usage

Pull the code and run locally

git clone git@github.com:agilecreativity/try-virgil.git

cd try-virgil

# Get the dependencies
lein deps :tree

# Start the test session using =auto test=
lein auto test

Change the Java/Clojure codes and notice the lein auto test console log.

  • Try change some code in the Java e.g. JavaLib.java
  • Try change some Clojure code in core.clj
  • Try change the test code that use both Java and Clojure in core_test.clj

The console of lein auto test should be automatically triggered based on changes.

Sample Session

./repl-session-example.png

Useful Links

TODOs

Add junit test for Java code