Skip to content
/ plovr Public
forked from bolinfest/plovr

plovr with: suppress warnings by file pattern, reverse proxy and CORS support, multithreaded unit tests

Notifications You must be signed in to change notification settings

rgpower/plovr

 
 

Repository files navigation

Plovr: A Closure build tool Build Status

plovr is a build tool that dynamically recompiles JavaScript and Closure Template code. It is designed to simplify Closure development, and to make it more enjoyable.

Using Plovr

Plovr requires Java 7 or higher.

Downloading Plovr

You can find Plovr JARs for download on the Releases page

Building Plovr from Source

The Plovr build requires the Java Development Kit (JDK) 7 or higher, Buck, and zip.

When following the Buck installation instructions, double-check that you are following the instructions for building Java projects and for your operating system. If you have trouble installing Buck (which can be non-trivial on Windows), please contact the Buck team.

To test:

buck fetch ...
buck test

To build:

buck fetch ...
buck build plovr

The output of the build will be in buck-out/gen/plovr.jar.

To Upgrade Closure Library

To upgrade one of Closure Library, go to the official repo and find the SHA digest of the commit you want to sync to. Then run.

scripts/update-repository.sh closure-library sha-digest

Sometimes this doesn't work because git subtree is buggy. If nothing updates, try running:

scripts/update-repository.sh closure-library master
git reset --hard origin/master
scripts/update-repository.sh closure-library sha-digest

This will bully git subtree into shape.

To Upgrade Closure Compiler, Closure Templates, or Closure Spreadsheets

The Closure Compiler, Template, and Spreadsheets depenencies are managed with Maven.

Follow the instructions in third-party/README.md.

About

plovr with: suppress warnings by file pattern, reverse proxy and CORS support, multithreaded unit tests

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 91.0%
  • HTML 5.4%
  • Java 2.3%
  • Python 0.7%
  • CSS 0.5%
  • Shell 0.1%