Created
February 25, 2020 22:26
-
-
Save sleepdefic1t/ca8752b21546e7dd50ba123a1afb317f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Linker doesn't play nice with Vagrants directory mapping when building for the NanoX. | |
# credit to @patriksletmo for the tip. | |
# clean the current project | |
make clean | |
# clear the NanoX build destination | |
sudo rm -rf /home/ubuntu/ledger-app-ark | |
# copy recursively and take ownership | |
sudo cp -R ~/apps/ledger-app-ark /home/ubuntu/ | |
sudo chown $USER -R /home/ubuntu/ledger-app-ark | |
# move to the build directory | |
cd /home/ubuntu/ledger-app-ark | |
make | |
make delete | |
make load |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment