Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alvarogarcia7/cli-app-base-clojure

A Clojure Skeleton for creating new CLI apps. Clone it and modify. Discard some previous examples. Ready to Rumble!
https://github.com/alvarogarcia7/cli-app-base-clojure

app ci cli clojure clojure-1-8 make makefile midje tdd travis-ci

Last synced: 14 days ago
JSON representation

A Clojure Skeleton for creating new CLI apps. Clone it and modify. Discard some previous examples. Ready to Rumble!

Awesome Lists containing this project

README

        

# CLI Application base, in Clojure [![Build Status](https://travis-ci.org/alvarogarcia7/cli-app-base-clojure.svg?branch=master)](https://travis-ci.org/alvarogarcia7/cli-app-base-clojure)

## Usage

* Clone the repo
* Choose a license -> ``project.clj::license``
* Find a project name -> ``project.clj::defproject``
* Find a package name -> ``project.clj::main, aot``, ``folders in test, src``
* Change this README.md
* Change the git remote
* Start writing tests
* Execute them with ``lein midje :autotest`` or inside the REPL
* Push (to you new remote)

## Tests

### Testing from the CLI

``lein midje :autotest``

This has the advantage that loads everything, each time.

### Testing inside the REPL

```bash
lein repl
```

```clojure
(use 'midje.repl)
(autotest)
```

This has the advantage that is faster.