====== Google Closure Library ====== ===== 必要なもの ===== ==== Windowsの場合 ==== [[windows:subversion#svn_コマンドのインストール|Subversion - svn コマンドのインストール]]\\ [[windows:python#pythonのインストール|python - pythonのインストール]]\\ ===== Closure Library のダウンロード ===== アプリのフォルダを作成 > mkdir closure_app Closure Library をダウンロード > cd closure_app > svn checkout http://closure-library.googlecode.com/svn/trunk closure-library ===== Closure Library を更新する場合 ===== > cd closure-library > svn update ===== Closure アプリの作成 ===== scripts フォルダを作成する。 > mkdir scripts ==== 依存関係ファイルの生成 ==== Linux & Mac $ python closure-library/closure/bin/build/depswriter.py --root_with_prefix="scripts ../../../scripts" --output_file=deps.js Windows > python closure-library\closure\bin\build\depswriter.py --root_with_prefix="scripts ../../../scripts" --output_file=deps.js ===== 参考文献 ===== [[https://developers.google.com/closure/|Closure Tools — Google Developers]]\\ [[http://webos-goodies.jp/archives/getting_started_with_closure_library.html|Closure Libraryによるアプリ開発のはじめ方 - WebOS Goodies]]\\ [[http://se-suganuma.blogspot.jp/2011/09/google-closure-library.html|SE奮闘記: Google Closure Libraryを使った開発事始め]]\\ [[http://www37.atwiki.jp/aias-closurecompiler/|Closure Compilerを使う! - トップページ]]\\ [[http://closure-compiler.appspot.com/|Closure Compiler Service]]\\ \\ [[https://sites.google.com/site/closurelibwiki/|Closure Library Geeks]]\\ [[http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/index.html|Closure Demos]]\\