mirror of
https://github.com/platformio/platform-linux_x86_64.git
synced 2025-09-04 13:10:58 +00:00
add upload / exec target
This commit is contained in:
@@ -47,6 +47,16 @@ if get_systype() == "darwin_x86_64":
|
||||
|
||||
target_bin = env.BuildProgram()
|
||||
|
||||
#
|
||||
# Target: Execute binary
|
||||
#
|
||||
|
||||
exec_action = env.VerboseAction(
|
||||
"$SOURCE $PROGRAM_ARGS", "Executing $SOURCE")
|
||||
|
||||
AlwaysBuild(env.Alias("exec", target_bin, exec_action))
|
||||
AlwaysBuild(env.Alias("upload", target_bin, exec_action))
|
||||
|
||||
#
|
||||
# Target: Print binary size
|
||||
#
|
||||
|
Reference in New Issue
Block a user