@willbooster/wb 13.17.0 → 13.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docker/bash/cleanup.sh +27 -0
- package/package.json +1 -1
- package/docker/bash/cleanup-apt.sh +0 -6
- package/docker/bash/install-asdf.sh +0 -6
- package/docker/bash/prepare-asdf-java.sh +0 -3
- package/docker/bash/prepare-asdf-maven.sh +0 -3
- package/docker/bash/prepare-asdf-nodejs.sh +0 -3
- package/docker/bash/prepare-asdf-poetry.sh +0 -3
- package/docker/bash/prepare-asdf-python.sh +0 -7
- package/docker/bash/prepare-asdf-ruby.sh +0 -4
- package/docker/bash/prepare-asdf-yarn.sh +0 -3
- package/docker/bash/prepare-asdf.sh +0 -3
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
set -e
|
|
4
|
+
|
|
5
|
+
SCRIPT_DIR=$(cd -- "$(dirname -- "$0")" && pwd)
|
|
6
|
+
keep_scripts=0
|
|
7
|
+
|
|
8
|
+
for arg in "$@"; do
|
|
9
|
+
case "${arg}" in
|
|
10
|
+
--keep-scripts)
|
|
11
|
+
keep_scripts=1
|
|
12
|
+
;;
|
|
13
|
+
*)
|
|
14
|
+
echo "Usage: cleanup.sh [--keep-scripts]" >&2
|
|
15
|
+
exit 1
|
|
16
|
+
;;
|
|
17
|
+
esac
|
|
18
|
+
done
|
|
19
|
+
|
|
20
|
+
apt-get purge -qq -y curl wget || true
|
|
21
|
+
apt-get autoremove -qq -y
|
|
22
|
+
apt-get clean -qq
|
|
23
|
+
rm -rf /var/lib/apt/lists/*
|
|
24
|
+
|
|
25
|
+
if [ "${keep_scripts}" = 0 ] && [ "$(basename "${SCRIPT_DIR}")" = "bash" ]; then
|
|
26
|
+
rm -rf "${SCRIPT_DIR}"
|
|
27
|
+
fi
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
# This script MUST NOT require superuser privileges; however, prepare-asdf.sh does require them.
|
|
4
|
-
ASDF_VERSION=$(curl --silent "https://api.github.com/repos/asdf-vm/asdf/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') \
|
|
5
|
-
&& git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch ${ASDF_VERSION} \
|
|
6
|
-
&& echo 'legacy_version_file = yes' > $HOME/.asdfrc
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
# c.f. https://github.com/pyenv/pyenv/wiki#suggested-build-environment
|
|
4
|
-
apt-get -qq install -y --no-install-recommends \
|
|
5
|
-
build-essential libssl-dev zlib1g-dev \
|
|
6
|
-
libbz2-dev libreadline-dev libsqlite3-dev curl \
|
|
7
|
-
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
# cf. https://github.com/rbenv/ruby-build/wiki#ubuntudebianmint
|
|
4
|
-
apt-get -qq install -y --no-install-recommends autoconf patch build-essential rustc libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libgmp-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev uuid-dev
|