examples/source/index.html.erb
<html>
<body>
<h1>current build target: <%= build_target %></h1>
<h4>build target map: <%= build_targets.inspect %></h4>
<p>
<% if build_target_is?(:foo) %>
Foo specific stuff.
<% elsif target?(:bar) %>
Bar specific stuff.
<% else %>
The build target <%= build_target %> has no special needs.
<% end %>
</p>
<p>
<% if target?(:phonegap) %>
Specified target is included in "phonegap" target.
<% else %>
Specified target is not in "phonegap" target.
<% end %>
</p>
<p>
<% if default_target? || no_target? %>
Using the default build target, or no target specified.
<% else %>
A build target has been specified that is not the default.
<% end %>
</p>
</body>
</html>