Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
mynomoto committed Oct 30, 2023
1 parent 71884db commit bd9056f
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ alt="tailrecursion/javelin logo" title="tailrecursion/javelin logo"
align="right" width="152"/>

# Javelin
[![clojars][10]][3] [![snapshot status][11]][3]
[![clojars](https://img.shields.io/clojars/v/hoplon/javelin.svg)](https://clojars.org/hoplon/javelin)
[![snapshot status](https://img.shields.io/clojars/vpre/hoplon/javelin.svg)](https://clojars.org/hoplon/javelin)
[![cljdoc badge](https://cljdoc.org/badge/hoplon/javelin)](https://cljdoc.org/d/hoplon/javelin)

Spreadsheet-like dataflow programming in ClojureScript.

Expand Down Expand Up @@ -346,18 +348,25 @@ API functions and macros:
;; the setter-cell.
```

## Building and Running Tests
### Testing

To build Javelin with advanced optimizations and run tests in PhantomJS:
This setup will run tests using clojure, node and chrome-webdriver.

#### Setup
```
boot test-javelin --advanced
npm install
npm install -g karma-cli
```
#### Run
```
clojure -T:build test
```

For development you may want to forgo optimizations and test continuously:

#### You may run only one type of test
```
boot watch speak test-javelin
clojure -T:build node-test
clojure -T:build chrome-test
clojure -T:build clojure-test
```

## License
Expand All @@ -371,15 +380,9 @@ boot watch speak test-javelin
agreeing to be bound by the terms of this license. You must not
remove this notice, or any other, from this software.

[1]: https://travis-ci.org/hoplon/javelin.png?branch=master
[2]: https://travis-ci.org/hoplon/javelin
[3]: http://clojars.org/hoplon/javelin
[4]: https://github.com/tailrecursion/javelin-demos
[5]: https://dl.dropboxusercontent.com/u/12379861/javelin_demos/index.html
[7]: https://github.com/lynaghk/todoFRP/tree/master/todo/javelin
[8]: https://github.com/hoplon/demos/tree/master/todoFRP
[9]: https://github.com/hoplon/javelin#formulas
[12]: https://github.com/hoplon/javelin/blob/master/test/javelin/core_test.cljs
[14]: https://www.thoughtworks.com/talks/journey-through-the-looking-glass-and-what-i-found-there
[10]: https://img.shields.io/clojars/v/hoplon/javelin.svg
[11]: https://img.shields.io/clojars/v/hoplon/javelin.svg?include_prereleases

0 comments on commit bd9056f

Please sign in to comment.