make the directory if it doesn't exist

This commit is contained in:
Mark McCaskey 2019-05-20 12:07:11 -07:00
parent 3fd55cfefb
commit c1cda5f5b5

View File

@ -51,10 +51,10 @@ install:
build_script:
- cargo build --release --verbose
# Now we build wapm
- rmdir wapm-cli /s /q
- git submodule init
- git submodule update
# Cache wapm cli target in dir above to prevent breaking git submodule on windows
- if not exist wapm-cli-target mkdir wapm-cli-target
- move wapm-cli-target wapm-cli
- rename wapm-cli\wapm-cli-target wapm-cli\target
- cargo build --release --manifest-path wapm-cli/Cargo.toml --features telemetry