automate rpi-pico serprog builds

./build rpi-pico serprog
build bin/serprog/rpi-pico-serprog.uf2

Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
This commit is contained in:
Riku Viitanen
2023-09-03 04:00:42 +03:00
parent 92b4db6992
commit e369e8fb4a
10 changed files with 77 additions and 1 deletions
+1
View File
@@ -84,6 +84,7 @@ clone_project()
[ ! -d "${location}" ] || \
rm -Rf "${location}" || \
fail "clone_project: Can't remove directory '${location}'"
mkdir -p ${location%/*}
mv "${tmp_dir}" "${location}" || \
fail "clone_project: could not copy temp file to destination"
}