diff --git a/ino/commands/build.py b/ino/commands/build.py index 65a9f8e..27cd086 100644 --- a/ino/commands/build.py +++ b/ino/commands/build.py @@ -221,7 +221,7 @@ def recursive_inc_lib_flags(self, libdirs): flags = SpaceList() for d in libdirs: flags.append('-I' + d) - flags.extend('-I' + subd for subd in list_subdirs(d, recursive=True, exclude=['examples'])) + flags.extend('-I' + subd for subd in list_subdirs(d, recursive=True, exclude=['examples','src'])) return flags def _scan_dependencies(self, dir, lib_dirs, inc_flags): diff --git a/ino/environment.py b/ino/environment.py index 8cb27e8..60c8194 100644 --- a/ino/environment.py +++ b/ino/environment.py @@ -80,6 +80,7 @@ class Environment(dict): if platform.system() == 'Darwin': arduino_dist_dir_guesses.insert(0, '/Applications/Arduino.app/Contents/Resources/Java') + arduino_dist_dir_guesses.insert(0, '/Applications/Arduino.app/Contents/Java') default_board_model = 'uno' ino = sys.argv[0]