Skip to content

Commit

Permalink
create script to compile release
Browse files Browse the repository at this point in the history
  • Loading branch information
glynhudson committed Feb 24, 2021
1 parent 85b2ec9 commit c91e04b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,6 @@ Platformio
.piolibdeps
.clang_complete
.gcc-flags.json

# build files
.hex
16 changes: 16 additions & 0 deletions prepare-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

# Script to compile all released enviroments and copy build artifacts to project root for easy upload to github releases.

pio run -e emonevse
pio run -e openevse
pio run -e emonevse-3ph

cp .pio/build/emonevse/firmware.hex emonevse.hex
cp .pio/build/openevse/firmware.hex openevse.hex
cp .pio/build/emonevse-3ph/firmware.hex emonevse-3ph.hex
ls *.hex

echo "Done"


0 comments on commit c91e04b

Please sign in to comment.