GithubHelp home page GithubHelp logo

jimdo / lein-scrooge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jcrean/lein-scrooge

0.0 76.0 0.0 109 KB

Leiningen plugin for running Twitter Scrooge compiler on Thrift IDL files

Clojure 100.00%
owner-team-creator

lein-scrooge's Introduction

lein-scrooge

A Leiningen plugin to run the Twitter Scrooge compiler on thrift IDL files

Installation

Use this for user-level plugins:

Leiningen 2.x

Put [lein-scrooge "0.1.1"] into the :plugins vector of your :user profile

Leiningen 1.x

lein plugin install lein-scrooge 0.1.1.

Use this for project-level plugins:

Put [lein-scrooge "0.1.1"] into the :plugins vector of your project.clj.

Usage

$ lein scrooge

When no arguments are provided, the plugin will search for thrift files in the directory specified by the :include-path in your project file (see below). If no :include-path has been specified, the plugin will default to searching "src/thrift".

$ lein scrooge <file1> <file2> ... <fileN>

You can also specify specific files to be compiled. If an :include-path has been provided in the project file, then scrooge will include this directory when resolving filenames.

Project Settings

The following settings are supported:

(defproject ...

 ;; scrooge compiler supports Java and Scala. (Haven't tested with Scala yet. User beware)
 :language "Java"
 
 ;; generates Finagle classes (see https://github.com/twitter/finagle)
 :finagle true

 ;; directory that will be used to find Thrift IDL files for compilation
 :thrift-include-path "src/thrift"
   
 ;; can be used to explicitly set destination of generated source files.
 ;; if generating java source, then java-source-path will be used by default.
 ;; fallback default is "src/<language>"
 :thrift-destination-path "src/java"
 
)

License

Copyright © 2013

Distributed under the Eclipse Public License, the same as Clojure.

lein-scrooge's People

Contributors

jcrean avatar

Watchers

Mohsin Hijazee avatar Christopher Blum avatar Jan Brauer avatar Umair avatar Fabian avatar Julius Zeidler avatar Daniel Bonkowski avatar Klaus Trainer avatar Fridtjof Detzner avatar Joscha Meyer avatar Jan Prieser avatar Paul Mölders avatar Jan Schlie avatar James Cloos avatar Tina Umlandt avatar Deniz Adrian avatar Oliver avatar  avatar Simon Hartmann avatar Daniel Heidecke avatar Eva Spies avatar David LaMothe avatar Kevin avatar  avatar Mark Frawley avatar Fabian Orthen avatar J. Christiansen avatar Lian Li avatar Yannick Kollega avatar Mario Trucco avatar Dirk Planeth avatar  avatar  avatar  avatar Kai Birkenfeld avatar  avatar  avatar Peter Rudek avatar Valentin Palkovic avatar Jill avatar  avatar Jérémie avatar Stefan Schadwinkel avatar  avatar Micha avatar 5ascha avatar  avatar Arne Roock avatar Eike-Marie avatar Ingo Ellerbusch avatar  avatar  avatar Sven Kruse avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Johanna Aust avatar  avatar Katja Runge avatar  avatar Ardi avatar Jimdo Support avatar  avatar  avatar Christian Konrad avatar  avatar Talal Mahmood Chaudhry avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.