Add env.expand() shortcut method to expand paths and construction variables - close #150
This commit is contained in:
1 parent
b745ae1153
commit
df120af953
3 files changed
+21
-9
No files matched your search
+1
-1
@@ -224,7 +224,7 @@ task "build" do
|
||||
end
|
||||
|
||||
task "flash", deps: "build" do
|
||||
sh "nrfjprog", "-f", "NRF52", "--program", env.expand_path("^^/proj.elf")
|
||||
sh "nrfjprog", "-f", "NRF52", "--program", env.expand("^^/proj.elf")
|
||||
end
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user