Remove ability to deploy custom programs (#7070)

automerge
This commit is contained in:
Michael Vines
2019-11-20 16:37:42 -07:00
committed by Grimes
parent f58fef60fb
commit ee6b11d36d
2 changed files with 1 additions and 30 deletions

View File

@ -1,21 +0,0 @@
#!/usr/bin/env bash
#
# This script will install all cargo workspace libraries found in
# `programDir` as native programs.
set -e
# Directory to install libraries into
installDir="$(mkdir -p "$1"; cd "$1"; pwd)"
# Where to find custom programs
programDir="$2"
(
set -x
cd "$programDir"
cargo build --release
)
set -x
mkdir -p "$installDir/bin/deps"
cp -fv "$programDir"/target/release/deps/libsolana*program.* "$installDir/bin/deps"