autochrome

by ladderlife

ladderlife / autochrome

Structural diffs for clojure source code

130 Stars 10 Forks Last release: Not found Eclipse Public License 1.0 67 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

autochrome

Autochrome is a program for structurally diffing and highlighting clojure source code. It generates diffs as static HTML from github pull requests or local git repos. For more information, some examples, and a description of how it works, please see the HTML readme (generated from readme.clj).

Usage

From local git repo:

$ lein run --open --git-dir /path/to/repo  []
  • old-ref
    and
    new-ref
    are just like the arguments to
    git diff
  • --open
    tries to open the diff in a browser. With no arguments you get HTML on stdout.
  • -o 
    also works.

From github:

$ lein run    -o diff.html        # write a diff for a GitHub pull request
$ lein run --token user:123abc    # use supplied auth token for github api

License

Copyright © 2018 Ladder Financial, Inc.

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.