DelphiPackageManager / DPM

A Package Manager for Delphi
Apache License 2.0
96 stars 21 forks source link

Add checks for dspec file for packages #5

Open wlandgraf opened 4 years ago

wlandgraf commented 4 years ago

The dspec format is used for both the templating and the final package. However, the templates allow specifying several Delphi versions and platforms, while the final package is supposed to target a single Delphi version and platform combination.

It would be good to add some checks to the dspec file in a package to make sure it doesn't add any templates or info that makes the target (version + platform) ambiguous.

This could happen if people manually modify the dspec for example, either intentionally or accidentally.