• Andrew Jones's avatar
    [cli] fix `new` command tests, pass in optional target dir (#197) · 59867455
    Andrew Jones authored
    * [cli] use temp dir for `cargo contract new` tests
    
    * [cli] pass in temp dir to build command
    
    * [cli] rustfmt
    
    * [cli] remove some spaces
    
    * [cli] rustfmt
    
    * [cli] fix unused warnings
    
    * [cli] TEMPORARY: see if test works on CI without nightly flag
    
    * [cli] build: check if nightly toolchain is the default
    
    * [cli] TEMPORARY: dump cargo output of build command test
    
    * [cli] TEMPORARY: fix error in las commit
    
    * [cli] TEMPORARY: add some diagnostics to see if .cargo/config is there
    
    * [cli] TEMPORARY: use cat
    
    * [cli] fix merge compilation error
    
    * [cli] change ls and cat commands to current_dir
    
    * [cli] fix troubleshooting logging
    
    * [cli] TEMPORARY: comment out RUSTFLAGS for troubleshooting
    
    * [cli] add link-dead-code args to top level .cargo/config
    
    Avoids RUSTFLAGS env var overriding contract project's rust flags
    
    * [cli] revert temporary CI build troubleshooting
    
    * [cli] make rustflags not target specific
    
    * [cli] only link-dead-code in CI
    
    * [cli] TEMP: output .cargo/config
    
    * [cli] printf instead of echo
    
    * [ci] create cargo config in $CARGO_HOME instead of workspace root
    
    * [ci] fix cargo_home path
    
    * [ci] overwrite rather than append cargo home config
    
    * [ci] restore original RUSTFLAGS, ignore failing build test
    
    * [ci] remove stray echo
    59867455
Name
Last commit
Last update
abi Loading commit data...
alloc Loading commit data...
cli Loading commit data...
core Loading commit data...
examples Loading commit data...
lang Loading commit data...
model Loading commit data...
scripts Loading commit data...
utils Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.rustfmt.toml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.md Loading commit data...
Cargo.toml Loading commit data...
LICENSE Loading commit data...
LICENSE_TEMPLATE Loading commit data...
README.md Loading commit data...