Adding submodule update script for FPGA tools.

This commit is contained in:
James Dunn
2020-09-02 13:27:31 -07:00
parent a8834c7766
commit 3b6d584672
2 changed files with 13 additions and 0 deletions

11
scripts/init-fpga.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# exit script if any command fails
set -e
set -o pipefail
# Enable submodule update for FPGA tools.
git config --unset submodule.fpga/fpga-shells.update
# Initialize local FPGA tools.
git submodule update --init --recursive fpga/fpga-shells
# Disable submodule update for FPGA tools.
git config submodule.fpga/fpga-shells.update none