Closed jnaulty closed 6 years ago
this helps linux users setup a linux-specific build environment
I can't test this for a while sooo you let me know when it's good to merge lol
ok. This will make it easier too to switch between different builds.
example:
if you add a new environment
file like:
env/your_cool_new_sketch.env
and inside this file is
export SKETCH=way-cooler-examples/CoolestSketchEver/CoolestSketchEver.ino
and run
source env/your_cool_new_sketch.env
make clean
make
It will build the sketch located in: way-cooler-examples/CoolestSketchEver/CoolestSketchEver.ino
Same applies to any other variable in the Makefile
, e.g. BOARD
, HTTP_ADDR
, UPLOAD_PORT
, etc
should i merge this?
Ah that's cool. This seems like magic