Add upload_host helper target

This commit is contained in:
Alex Hultman 2021-10-24 23:07:44 +02:00
parent 0afd0d8147
commit 2c2644505d
1 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,11 @@
default:
$(CC) build.c
./a.out || build.exe
upload_host:
git fetch origin binaries:binaries
git checkout binaries
cp dist/*.node .
git add *.node
git commit -m "Manually updated host binaries"
git push origin binaries
git checkout master