Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Replace #build_targets= with something better #4

Open
xunker opened this issue Feb 5, 2013 · 0 comments
Open

Replace #build_targets= with something better #4

xunker opened this issue Feb 5, 2013 · 0 comments

Comments

@xunker
Copy link
Owner

xunker commented Feb 5, 2013

The build_targets syntax is currently this:

activate :target do |t|
  t.build_targets = {
    "phonegap" => {
      :includes => %w[android ios]
    }
  }
end

It could be a lot better. I would like to turn it in to something like this:

activate :target do |t|
  t.groups << "phonegap"
  t.groups.phonegap << "android"
  t.groups.phonegap << "ios"
end
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant