Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix paths in scripts
  • Loading branch information
chevdor committed Aug 3, 2018
commit 5721984fa19b8682010c3ca1d358254b35e629e9
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ RUN apt-get update && \

RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \
export PATH=$PATH:$HOME/.cargo/bin && \
# rustup update nightly && \
# rustup target add wasm32-unknown-unknown --toolchain nightly && \
# rustup update stable && \
# cargo install --git https://github.com/alexcrichton/wasm-gc && \
cargo build --$PROFILE

# ===== SECOND STAGE ======
Expand Down
3 changes: 2 additions & 1 deletion scripts/build-demos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

set -e

PROJECT_ROOT=`git rev-parse --show-toplevel`
source `dirname "$0"`/common.sh

export CARGO_INCREMENTAL=0
Expand All @@ -16,7 +17,7 @@ cd $ROOT
for DEMO in "${DEMOS[@]}"
do
echo "*** Building wasm binaries in $DEMO"
cd $DEMO
cd "$PROJECT_ROOT/$DEMO"

./build.sh

Expand Down
3 changes: 2 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

set -e

PROJECT_ROOT=`git rev-parse --show-toplevel`
source `dirname "$0"`/common.sh

export CARGO_INCREMENTAL=0
Expand All @@ -16,7 +17,7 @@ cd $ROOT
for SRC in "${SRCS[@]}"
do
echo "*** Building wasm binaries in $SRC"
cd $SRC
cd "$PROJECT_ROOT/$SRC"

./build.sh

Expand Down