Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boxuk/toolchain
Tool for checking system setup
https://github.com/boxuk/toolchain
Last synced: 5 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 (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-05-21T08:29:21.000Z (over 11 years ago)
- Last Synced: 2024-06-15T13:21:26.384Z (5 months ago)
- Language: Clojure
- Homepage:
- Size: 96.7 KB
- Stars: 1
- Watchers: 12
- 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.