Browse files

Merge branch 'arduinoAsSubModule'

  • Loading branch information...
Mikael BRIDAY committed Dec 7, 2017
2 parents 7f66dac + ddae7a0 commit b889401e3adf50b1e533845349229503bdc53880
Showing with 9 additions and 1 deletion.
  1. +9 −1 goil/templates/build/make_py.goilTemplate
@@ -59,13 +59,21 @@ end foreach
#--- produced. This is done by the file.
#--- is generated each time goil is called by
from __future__ import print_function
import sys, os, subprocess, atexit, string
#--- Add the location of to the import path
sys.path.append("% !OS::BUILD_S::TRAMPOLINE_BASE_PATH %/make")
#--- Import the makefile system in python
import makefile, projfile
import makefile, projfile
except ImportError:
#it defines inline the red color, as other are defined in the
print("\033[91mThe OS->BUILD->TRAMPOLINE_BASE_PATH key is not set correctly in the oil file % !OILFILENAME %.")
print("Set the correct Trampoline installation path in the oil file and run goil again:\033[0m")
print("goil -t=%!TARGET% --templates=%!TEMPLATEPATH% %!OILFILENAME%")
#--- To work with relative paths
scriptDir = os.path.dirname (os.path.abspath (sys.argv[0]))

0 comments on commit b889401

Please sign in to comment.