!!DEPRECATED!! This repo is not maintained over 8 years! Recommand to use arduino-cli
build & upload Arduino sketch on the command line with scons!
make a folder which have same name of the sketch (ex. Blink/ for Blink.pde)
put the sketch and the SConstruct under the folder.
to make the HEX do following in the folder:
$ scons
to upload the binary, do following in the folder:
$ scons upload
refer Expert Usage for change the confs.
refer Arscons Users for arscons in practice (and hacks!)