There are a some simple fixes that we should make before 0.12. I'm creating a separate issue for each one. If you can solve any of these problems and want to contribute, read the explanation of the problem and submit a pull request in response to the relevant issue.
Generated sketches should have a version number
Right now the dino generate-sketch command makes files and folders with names like:
dino_serial, which contains dino_serial.inodino_etherent, which contains dino_ethernet.ino
When these get generated, they should reflect the version number of the gem that they were generated by, and hence, is compatible with. Something more like:
dino-serial_0.11.3 for the folder name and dino-serial_0.11.3.ino for the sketch file. Doesn't have to be exactly that. Whatever looks good and is compatible with most filesystems.
The name of the folder and the sketch (minus the .ino extension) need to match exactly or the Arduino IDE complains.
The library filenames should NOT be versioned in this way, but adding the version info as a comment at the top of these files is probably a good idea.
DinoCLI::Generator is where the files get there names and Dino::VERSION stores the current version number.
There are a some simple fixes that we should make before 0.12. I'm creating a separate issue for each one. If you can solve any of these problems and want to contribute, read the explanation of the problem and submit a pull request in response to the relevant issue.
Generated sketches should have a version number
Right now the
dino generate-sketch
command makes files and folders with names like:dino_serial
, which containsdino_serial.ino
dino_etherent
, which containsdino_ethernet.ino
When these get generated, they should reflect the version number of the gem that they were generated by, and hence, is compatible with. Something more like:
dino-serial_0.11.3
for the folder name anddino-serial_0.11.3.ino
for the sketch file. Doesn't have to be exactly that. Whatever looks good and is compatible with most filesystems.The name of the folder and the sketch (minus the .ino extension) need to match exactly or the Arduino IDE complains.
The library filenames should NOT be versioned in this way, but adding the version info as a comment at the top of these files is probably a good idea.
DinoCLI::Generator
is where the files get there names andDino::VERSION
stores the current version number.