Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/alvarogarcia7/cli-app-base-clojure
- Owner: alvarogarcia7
- Created: 2016-02-07T19:03:05.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-16T21:38:33.000Z (almost 8 years ago)
- Last Synced: 2024-11-12T03:31:08.130Z (2 months ago)
- Topics: app, ci, cli, clojure, clojure-1-8, make, makefile, midje, tdd, travis-ci
- Language: Clojure
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.