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

A group name should not be a valid target. #8

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

A group name should not be a valid target. #8

xunker opened this issue Feb 5, 2013 · 0 comments

Comments

@xunker
Copy link
Owner

xunker commented Feb 5, 2013

Currently, if I set up my target map as

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

I could do this

MIDDLEMAN_BUILD_TARGET=phonegap middleman build

And it would be accepted but would not do what you expected. Need to throw an exception or error if the given target is actually a group.

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