Skip to content

Commit

Permalink
Remove wasmer permanently.
Browse files Browse the repository at this point in the history
According to our logs, nobody has ever used it.

Signed-off-by: David Calavera <david.calavera@gmail.com>
  • Loading branch information
calavera committed Sep 28, 2020
1 parent 92f69f9 commit 19b59c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
7 changes: 0 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -444,13 +444,6 @@ ENV GIMME_GO_VERSION "1.14.4"
ENV GIMME_ENV_PREFIX "/opt/buildhome/.gimme/env"
RUN gimme | bash

################################################################################
#
# Wasmer
#
################################################################################
#RUN curl https://get.wasmer.io -sSfL | sh

################################################################################
#
# Dotnet Core
Expand Down
20 changes: 0 additions & 20 deletions run-build-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ mkdir -p $NETLIFY_CACHE_DIR/node_modules
mkdir -p $NETLIFY_CACHE_DIR/.bundle
mkdir -p $NETLIFY_CACHE_DIR/bower_components
mkdir -p $NETLIFY_CACHE_DIR/.venv
mkdir -p $NETLIFY_CACHE_DIR/wapm_packages
mkdir -p $NETLIFY_CACHE_DIR/.build
mkdir -p $NETLIFY_CACHE_DIR/.netlify/plugins

Expand All @@ -54,7 +53,6 @@ mkdir -p $NETLIFY_CACHE_DIR/.boot
mkdir -p $NETLIFY_CACHE_DIR/.composer
mkdir -p $NETLIFY_CACHE_DIR/.gimme_cache/gopath
mkdir -p $NETLIFY_CACHE_DIR/.gimme_cache/gocache
mkdir -p $NETLIFY_CACHE_DIR/.wasmer/cache
mkdir -p $NETLIFY_CACHE_DIR/.homebrew-cache

: ${YARN_FLAGS=""}
Expand Down Expand Up @@ -638,22 +636,6 @@ install_dependencies() {
fi
fi

# WAPM version
source $HOME/.wasmer/wasmer.sh
if [ -f wapm.toml ] || [ -f wapm.lock ]
then
restore_home_cache ".wasmer/cache" "wasmer cache"
restore_cwd_cache "wapm_packages" "wapm packages"
wapm install
if [ $? -eq 0 ]
then
echo "Wapm packages installed"
else
echo "Error during Wapm install"
exit 1
fi
fi

# Setup project GOPATH
if [ -n "$GO_IMPORT_PATH" ]
then
Expand All @@ -672,7 +654,6 @@ cache_artifacts() {
cache_cwd_directory "bower_components" "bower components"
cache_cwd_directory "node_modules" "node modules"
cache_cwd_directory ".venv" "python virtualenv"
cache_cwd_directory "wapm_packages" "wapm packages"
cache_cwd_directory ".build" "swift build"
cache_cwd_directory ".netlify/plugins" "build plugins"

Expand All @@ -683,7 +664,6 @@ cache_artifacts() {
cache_home_directory ".m2" "maven dependencies"
cache_home_directory ".boot" "boot dependencies"
cache_home_directory ".composer" "composer dependencies"
cache_home_directory ".wasmer/cache", "wasmer cache"
cache_home_directory ".homebrew-cache", "homebrew cache"

# Don't follow the Go import path or we'll store
Expand Down

0 comments on commit 19b59c0

Please sign in to comment.