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.
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.