lib/teapot/command/create.rb in teapot-2.1.0 vs lib/teapot/command/create.rb in teapot-2.2.0
- old
+ new
@@ -56,12 +56,11 @@
# Fetch the initial packages:
Fetch[].invoke(nested)
context = nested.context
-
- # The targets to build to create the initial project:
- target_names = context.configuration.targets[:create]
+ selection = context.select
+ target_names = selection.configuration.targets[:create]
if target_names.any?
# Generate the initial project files:
Build[*target_names].invoke(nested)