Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update hooks for newly implemented lein convention.

  • Loading branch information...
commit f884889bb8c270dc8c479359717cff769a91f88b 1 parent cf8244b
Anthony Grimes Raynes authored
2  project.clj
... ... @@ -1,4 +1,4 @@
1   -(defproject lein-protobuf "0.2.0"
  1 +(defproject lein-protobuf "0.2.1"
2 2 :description "Leiningen plugin for compiling protocol buffers."
3 3 :license {:name "Eclipse Public License"
4 4 :url "http://www.eclipse.org/legal/epl-v10.html"}
4 src/lein_protobuf/hooks.clj → src/lein_protobuf/plugin.clj
... ... @@ -1,9 +1,9 @@
1   -(ns lein-protobuf.hooks
  1 +(ns lein-protobuf.plugin
2 2 (:use [leiningen.javac :only [javac]]
3 3 [leiningen.protobuf :only [protobuf *compile-protobuf?*]]
4 4 [robert.hooke :only [add-hook]]))
5 5
6   -(defn activate []
  6 +(defn hooks []
7 7 (add-hook #'javac
8 8 (fn [f & args]
9 9 (when *compile-protobuf?*

0 comments on commit f884889

Please sign in to comment.
Something went wrong with that request. Please try again.