Add --force for run command

This commit is contained in:
Ivan Kravets
2015-05-25 21:45:50 +03:00
parent 96ce0692f8
commit bcf0cc26aa
2 changed files with 4 additions and 4 deletions

View File

@ -50,11 +50,11 @@ described below:
[
{
"name": "Clean",
"cmd": ["platformio", "run", "-t", "clean"]
"cmd": ["platformio", "--force", "run", "--target", "clean"]
},
{
"name": "Upload",
"cmd": ["platformio", "run", "-t", "upload"]
"cmd": ["platformio", "--force", "run", "--target", "upload"]
}
]
}

View File

@ -30,10 +30,10 @@ Put to the project directory ``Makefile`` wrapper with contents:
#PATH := /usr/local/bin:$(PATH)
all:
platformio run -t upload
platformio --force run --target upload
clean:
platformio run -t clean
platformio --force run --target clean
Now, in VIM ``cd /path/to/this/project`` and press ``Ctrl+B`` or ``Cmd+B``