Skip to content

teropa/lein-gwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lein-gwt

A Leiningen plugin for running the Google Web Toolkit compiler.

Usage

Add a list of the GWT modules you want to compile to your project.clj:

 (defproject myproject "1.0-SNAPSHOT"
   :gwt-modules ["mypackage.MyGWTModule"])

Now you can run the GWT compiler by invoking lein gwt.

Passing arguments

To customize the compiler invocation, add a map :gwt-options to project.clj. See the GWT documentation for the options you can pass, e.g.:

(defproject myproject "1.0-SNAPSHOT"
  :gwt-modules ["mypackage.MyGWTModule"]
  :gwt-options {:localWorkers 2, :war "my/output/dir"})

Installation

Add the following entry to your :dev-dependencies:

 [lein-gwt "0.1.0"]

The plugin is on Clojars and Leiningen will grab it from there when you run lein deps.

License

Copyright (C) 2010 Tero Parviainen

Distributed under the MIT license (see LICENSE).

About

A Leiningen plugin for the GWT compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published