https://github.com/boxuk/toolchain
Tool for checking system setup
https://github.com/boxuk/toolchain
Last synced: 11 days ago
JSON representation
Tool for checking system setup
- Host: GitHub
- URL: https://github.com/boxuk/toolchain
- Owner: boxuk
- Created: 2012-01-31T09:00:54.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2013-05-21T08:29:21.000Z (about 13 years ago)
- Last Synced: 2026-06-30T00:05:30.671Z (about 1 month ago)
- Language: Clojure
- Homepage:
- Size: 96.7 KB
- Stars: 1
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Toolchain
Toolchain is a simple tool for checking the system setup for required components.
## Usage
To check that some binaries are installed just use the *check-binary* and *check-binaries*
functions.
```clojure
(:use boxuk.toolchain)
(check-binary "svn")
(check-binaries ["git" "lein"])
```
These will throw an exception if any of the binaries are not installed. Alternatively if
you're just interested in booleans then you can use the *has-binary?* and *has-binaries?*
functions.
```clojure
(has-binary? "svn")
(has-binaries? ["svn" "something-else"])
```
Which return true/false instead of throwing an Exception.
## License
Dual licensed under GPLv2 and MIT.