Prevent building model as a place and vice versa #736
Labels
scope: cli
Relevant to the Rojo CLI
size: small
status: in-progress
Someone is working on this last time we checked.
type: enhancement
Feature or improvement that should potentially happen
Currently, we trust the user to choose their own extension when building. However, this allows mistakes because people can build models as place files or vice versa.
Given that this should be as easy as checking whether the root of a file is a
DataModel
, it should be trivial to check whether the correct type of file is being built for the specified extension. We should probably do that.The text was updated successfully, but these errors were encountered: