Skip to content

Commit

Permalink
automatically move .uf2 firmware after compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Forlani committed Oct 19, 2023
1 parent 37d27a0 commit bf831f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ then
echo "An error occured while compiling QMK. Please check for errors in the logs above ^^^^^"
else
echo "QMK Compiled successfully! Listing .uf2 files..."
firmwares=`ls | grep .uf2`
ls | grep .uf2
echo "One of these files should be the cvntboard firmware... xoxo"
cp $firmwares ../
fi
5 changes: 5 additions & 0 deletions clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

echo "Cleaning up build files..."

rm -rf ./qmk_firmware ./*.uf2

0 comments on commit bf831f9

Please sign in to comment.