Redspot is an Substrate pallet-contracts (ink!) development environment. Compile your contracts and run them on a different networks. Redspot's core forks from Hardhat but changed a lot to suit substrate.
We're using redspot in our projects, and it's great, but sometimes, during smart contract build, we want to specify the single target directory (e.g. CARGO_TARGET_DIR=/cache/target), for example, to optimize disk space and build time when running CI on remote servers.
The condition in compilerInput.ts doesn't allow to do this. We created a small PR to fix it: #160
Please, take a look at it, or resolve it in another way.
We're using redspot in our projects, and it's great, but sometimes, during smart contract build, we want to specify the single target directory (e.g.
CARGO_TARGET_DIR=/cache/target
), for example, to optimize disk space and build time when running CI on remote servers.The condition in
compilerInput.ts
doesn't allow to do this. We created a small PR to fix it: #160 Please, take a look at it, or resolve it in another way.Thanks a lot!