agilecreativity / try-virgil

Example Java/Clojure/auto-reloaded project using Virgil

Home Page:https://github.com/agilecreativity/try-virgil

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Example Java/Clojure/auto-reloaded project using Virgil

https://github.com/agilecreativity/try-virgil

License:MIT License


Languages

Language:Clojure 80.9%Language:Java 19.1%