mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
dont run nu at end of release build
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
This commit is contained in:
parent
3b7aa5124c
commit
64345b2985
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ ENV PATH=/root/.cargo/bin:$PATH
|
||||||
COPY . /code
|
COPY . /code
|
||||||
RUN echo "##vso[task.prependpath]/root/.cargo/bin" && \
|
RUN echo "##vso[task.prependpath]/root/.cargo/bin" && \
|
||||||
rustc -Vv && \
|
rustc -Vv && \
|
||||||
if $RELEASE; then cargo build --release && cargo run --release; \
|
if $RELEASE; then cargo build --release; \
|
||||||
cp target/release/nu /usr/local/bin; \
|
cp target/release/nu /usr/local/bin; \
|
||||||
else cargo build; \
|
else cargo build; \
|
||||||
cp target/debug/nu /usr/local/bin; fi;
|
cp target/debug/nu /usr/local/bin; fi;
|
||||||
|
|
Loading…
Reference in a new issue