Resolve #7: add auto-conversation from *.ino to valid *.cpp for Arduino/Energia frameworks

This commit is contained in:
Ivan Kravets
2014-08-03 16:23:18 +03:00
parent 1b75d3e461
commit 00e51558db
2 changed files with 49 additions and 6 deletions

View File

@@ -56,4 +56,5 @@ def cli(environment, target, upload_port):
p = PlatformFactory().newPlatform(config.get(section, "platform"))
result = p.run(variables, envtargets)
secho(result['out'], fg="green")
secho(result['err'], fg="red")
secho(result['err'],
fg="red" if "Error" in result['err'] else "yellow")