From d5251c53eb0e23be30cbf3f3e68422bd647dce24 Mon Sep 17 00:00:00 2001 From: Tobias Oberstein Date: Fri, 9 Oct 2015 14:55:40 +0200 Subject: [PATCH] add developers doc --- DEVELOPERS.md | 11 +++++++++++ Makefile | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 DEVELOPERS.md diff --git a/DEVELOPERS.md b/DEVELOPERS.md new file mode 100644 index 00000000..d22d8a3f --- /dev/null +++ b/DEVELOPERS.md @@ -0,0 +1,11 @@ +## Google Closure + +For building the browser version of AutobahnJS, you will need the [Google Closure Compiler](https://developers.google.com/closure/compiler/index). + +Download from [here](https://dl.google.com/closure-compiler/compiler-latest.zip). + + cd ~ + wget https://dl.google.com/closure-compiler/compiler-latest.zip + unzip -o compiler-latest.zip + +Set `$JS_COMPILER` to `${HOME}/compiler.jar`. diff --git a/Makefile b/Makefile index e42adaee..71ac63be 100644 --- a/Makefile +++ b/Makefile @@ -6,3 +6,6 @@ bundle: clean: rm -rf build + +closure_version: + java -jar ${JS_COMPILER} --version