srobo / tools

Student Robotics development helper scripts
4 stars 3 forks source link

Improve validation checks #23

Closed PeterJCLaw closed 5 years ago

PeterJCLaw commented 5 years ago

The main change here is https://github.com/srobo/tools/commit/620b7d834cc21d6a16272adfbfa37b9eb405da16 which adds detection of invalid asset codes.

By detecting bad names such as needs-sorting-from-sr2017-kickstart, we greatly reduce the chances of errors when running other commands as well as ease fixing such mistakes.

This fixes https://github.com/srobo/tools/issues/16