mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 09:53:43 +01: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
@ -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 New Issue
Block a user