Revert disabling script (#14788)

This commit is contained in:
Jack May 2021-01-22 17:08:06 -08:00 committed by GitHub
parent 77572a7c53
commit e505a9b209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -58,11 +58,11 @@ example_helloworld() {
spl() {
(
set -x
# rm -rf spl
# git clone https://github.com/solana-labs/solana-program-library.git spl
rm -rf spl
git clone https://github.com/solana-labs/solana-program-library.git spl
cd spl
# ./patch.crates-io.sh "$solana_dir"
./patch.crates-io.sh "$solana_dir"
$cargo build
@ -71,9 +71,9 @@ spl() {
#$cargo test
#$cargo_test_bpf
# $cargo_test_bpf --manifest-path token/program/Cargo.toml
# $cargo_test_bpf --manifest-path associated-token-account/program/Cargo.toml
$cargo_test_bpf --manifest-path feature-proposal/program/Cargo.toml -- --nocapture
$cargo_test_bpf --manifest-path token/program/Cargo.toml
$cargo_test_bpf --manifest-path associated-token-account/program/Cargo.toml
$cargo_test_bpf --manifest-path feature-proposal/program/Cargo.toml
)
}
@ -102,6 +102,6 @@ serum_dex() {
}
# _ example_helloworld
_ example_helloworld
_ spl
# _ serum_dex
_ serum_dex

View File

@ -210,7 +210,7 @@ lazy_static! {
(prevent_upgrade_and_invoke::id(), "prevent upgrade and invoke in same tx batch"),
(full_inflation::candidate_example::vote::id(), "community vote allowing candidate_example to enable full inflation"),
(full_inflation::candidate_example::enable::id(), "full inflation enabled by candidate_example"),
(track_writable_deescalation::id(), "Track account writable deescalation"),
(track_writable_deescalation::id(), "track account writable deescalation"),
/*************** ADD NEW FEATURES HERE ***************/
]
.iter()