Skip to content

Instantly share code, notes, and snippets.

@minimal
Last active December 27, 2015 08:28
Show Gist options
  • Save minimal/7296086 to your computer and use it in GitHub Desktop.
Save minimal/7296086 to your computer and use it in GitHub Desktop.

how to use clang in your clojurescript project

https://github.com/pangloss/clang

  • add [clang "0.1.0-SNAPSHOT"] to your project :dependencies
  • checkout clang repo somewhere

in your project root:

mkdir checkouts
ln -s /path/to/clang checkouts/
cd checkouts/clang
lein install
git submodule init
git submodule update
cd ../..
lein cljsbuild auto myproject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment