dont run nu at end of release build

Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
This commit is contained in:
Vanessa Sochat 2019-09-29 17:18:35 -04:00
parent 3b7aa5124c
commit 64345b2985
No known key found for this signature in database
GPG Key ID: 55B56B9BF3B77E5C

View File

@ -17,7 +17,7 @@ ENV PATH=/root/.cargo/bin:$PATH
COPY . /code
RUN echo "##vso[task.prependpath]/root/.cargo/bin" && \
rustc -Vv && \
if $RELEASE; then cargo build --release && cargo run --release; \
if $RELEASE; then cargo build --release; \
cp target/release/nu /usr/local/bin; \
else cargo build; \
cp target/debug/nu /usr/local/bin; fi;