Module: Helium
- Defined in:
- lib/helium/jake.rb,
lib/helium.rb,
lib/helium/web.rb,
lib/helium/trie.rb,
lib/helium/logger.rb,
lib/helium/deployer.rb,
lib/helium/generator.rb,
lib/helium/web_helpers.rb,
lib/helium/configurable.rb
Overview
This file is loaded by Jake for projects created using the Helium command line tools. It copies build files into the test directory and generates a JS.Packages file for the project so that the user can test that their dependencies are correctly configured.
Defined Under Namespace
Modules: Configurable, JakeBuildHelper Classes: Deployer, Generator, Logger, Trie, Web
Constant Summary collapse
- VERSION =
'0.1.2'
- ROOT =
File.(File.dirname(__FILE__))
- TEMPLATES =
File.join(ROOT, '..', 'templates')
- ERB_EXT =
'.erb'
- JS_CONFIG_TEMPLATE =
File.join(TEMPLATES, 'packages.js.erb')
- CONFIG_FILE =
'deploy.yml'
- REPOS =
'repos'
- STATIC =
'static'
- PACKAGES =
'helium-src.js'
- PACKAGES_MIN =
'helium.js'
- WEB_ROOT =
'js'
- COMMIT =
/^[0-9a-f]{40}$/
- GIT =
'.git'
- HEAD =
'HEAD'
- HEAD_LIST =
'heads.yml'
- JS_CLASS =
'js.class'
- LOADER_FILE =
'loader.js'
- JAKE_FILE =
Jake::CONFIG_FILE
- SEP =
File::SEPARATOR
- BYTE =
1024.0
- ERB_TRIM_MODE =
'-'