wget https://legacy.smartpy.io/cli/install.sh
bash ./install.sh
rm install.sh
cd teia-smart-contracts/python
~/smartpy-cli/SmartPy.sh compile contracts/teiaMarketplace_v1.py ../output/contracts/teiaMarketplace_v1 --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/multisigWallet_v1.py ../output/contracts/multisigWallet_v1 --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/fa12.py ../output/contracts/fa12 --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/fa2.py ../output/contracts/fa2 --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/minter.py ../output/contracts/minter --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/marketplace.py ../output/contracts/marketplace --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/artistsCollaboration.py ../output/contracts/artistsCollaboration --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/daoToken.py ../output/contracts/daoToken --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/daoTokenDrop.py ../output/contracts/daoTokenDrop --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/daoTreasury.py ../output/contracts/daoTreasury --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/daoGovernance.py ../output/contracts/daoGovernance --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/representatives.py ../output/contracts/representatives --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/daoMultisig.py ../output/contracts/daoMultisig --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/coreTeamVote.py ../output/contracts/coreTeamVote --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/teiaPolls.py ../output/contracts/teiaPolls --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/harbergerToken.py ../output/contracts/harbergerToken --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/harbergerFee.py ../output/contracts/harbergerFee --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/harbergerMinter.py ../output/contracts/harbergerMinter --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/subscriptionToken.py ../output/contracts/subscriptionToken --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/subscriptionFee.py ../output/contracts/subscriptionFee --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/subscriptionsMarketplace.py ../output/contracts/subscriptionsMarketplace --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/donations.py ../output/contracts/donations --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/openLetter.py ../output/contracts/openLetter --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/tezosPolls.py ../output/contracts/tezosPolls --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/deadMansSwitch.py ../output/contracts/deadMansSwitch --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/si_fa2.py ../output/contracts/si_fa2 --html --purge
~/smartpy-cli/SmartPy.sh compile contracts/si_list.py ../output/contracts/si_list --html --purge
cd teia-smart-contracts/python
~/smartpy-cli/SmartPy.sh test tests/teiaMarketplace_v1_test.py ../output/tests/teiaMarketplace_v1 --html --purge
~/smartpy-cli/SmartPy.sh test tests/multisigWallet_v1_test.py ../output/tests/multisigContract_v1 --html --purge
~/smartpy-cli/SmartPy.sh test tests/fa2_test.py ../output/tests/fa2 --html --purge
~/smartpy-cli/SmartPy.sh test tests/minter_test.py ../output/tests/minter --html --purge
~/smartpy-cli/SmartPy.sh test tests/marketplace_test.py ../output/tests/marketplace --html --purge
~/smartpy-cli/SmartPy.sh test tests/artistsCollaboration_test.py ../output/tests/artistsCollaboration --html --purge
~/smartpy-cli/SmartPy.sh test tests/daoToken_test.py ../output/tests/daoToken --html --purge
~/smartpy-cli/SmartPy.sh test tests/daoTokenDrop_test.py ../output/tests/daoTokenDrop --html --purge
~/smartpy-cli/SmartPy.sh test tests/daoTreasury_test.py ../output/tests/daoTreasury --html --purge
~/smartpy-cli/SmartPy.sh test tests/daoGovernance_test.py ../output/tests/daoGovernance --html --purge
~/smartpy-cli/SmartPy.sh test tests/representatives_test.py ../output/tests/representatives --html --purge
~/smartpy-cli/SmartPy.sh test tests/daoMultisig_test.py ../output/tests/daoMultisig --html --purge
~/smartpy-cli/SmartPy.sh test tests/teiaPolls_test.py ../output/tests/teiaPolls --html --purge
~/smartpy-cli/SmartPy.sh test tests/deadMansSwitch_test.py ../output/tests/deadMansSwitch --html --purge
~/smartpy-cli/SmartPy.sh test tests/si_fa2_test.py ../output/tests/si_fa2 --html --purge
~/smartpy-cli/SmartPy.sh test tests/si_list_test.py ../output/tests/si_list --html --purge