Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install jEnv using Homebrew:
brew install jenv
Add the cask-versions tap to Homebrew:
| #!/usr/bin/env ruby | |
| =begin | |
| Ref. Python implementation from this answer on StackOverflow: | |
| http://stackoverflow.com/a/7843192/195964 | |
| =end | |
| include Math | |
| =begin |
| #!/usr/bin/env ruby | |
| require 'digest/sha1' | |
| def git_hash(file) | |
| data = File.read(file) | |
| size = data.bytesize.to_s | |
| Digest::SHA1.hexdigest('blob ' + size + "\0" + data) # Git's hashing algorithm | |
| end |
| {:paths ["src"] | |
| :deps {org.babashka/json {:mvn/version "0.1.1"}}} |
“Programmers know the benefits of everything and the trade‑offs of nothing.”
This file exists to force trade‑offs into the open for Clojure code generated by AI agents.
This document defines constraints, idioms, and expectations for any AI agent generating or modifying Clojure or ClojureScript code in this repository.
The agent must: