Skip to content

Setting build-path to current dir #4

Closed
@wayoda

Description

@wayoda

Compile a sketch with -build-path = . (the current working dir)

wayoda@shredder:~/sketchbook/empty$ arduino-builder -build-path . -fqbn arduino:avr:nano -hardware /home/wayoda/opt/arduino/arduino-1.6.6/hardware -tools /home/wayoda/opt/arduino/arduino-1.6.6/tools/ -verbose -debug-level 10 empty.ino 

Run the command serveral times. For every run of the builder a recursive sketch-dir is created

wayoda@shredder:~/sketchbook/empty$ tree
.
├── build.options.json
├── empty.ino
└── sketch
    ├── empty.ino.cpp
    └── sketch
        ├── empty.ino.cpp
        └── sketch
            ├── empty.ino.cpp
            └── sketch
                ├── empty.ino.cpp
                └── sketch
                    ├── empty.ino.cpp
                    └── sketch
                        ├── empty.ino.cpp
                        └── sketch
                            ├── empty.ino.cpp
                            └── sketch
                                ├── empty.ino.cpp
                                └── sketch
                                    ├── empty.ino.cpp
                                    └── sketch
                                        ├── empty.ino.cpp
                                        └── sketch
                                            ├── empty.ino.cpp
                                            └── sketch
                                                ├── empty.ino.cpp
                                                └── sketch
                                                    └── empty.ino.cpp

13 directories, 15 files

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions