Skip to content

Commit 8e7b43f

Browse files
committed
[CHANGE] Simplified feature "mise"
1 parent 0c2aef8 commit 8e7b43f

File tree

6 files changed

+6
-85
lines changed

6 files changed

+6
-85
lines changed

src/mise/devcontainer-feature.json

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
{
22
"id": "mise",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"name": "mise-en-place version manager",
5-
"description": "Installs mise-en-place version manager.",
6-
"options": {
7-
"no_ruby_dependencies": {
8-
"description": "If set to true, the dependencies for building ruby won't be installed.",
9-
"type": "boolean",
10-
"default": false
11-
},
12-
"no_python_dependencies": {
13-
"description": "If set to true, the dependencies for building python won't be installed.",
14-
"type": "boolean",
15-
"default": false
16-
}
17-
}
5+
"description": "Installs mise-en-place version manager."
186
}

src/mise/install.sh

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
#!/usr/bin/bash
22
set -e
33

4-
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
5-
6-
REQUIRED_PACKAGES="curl sudo ca-certificates build-essential"
4+
REQUIRED_PACKAGES="curl sudo ca-certificates"
75
RUBY_BUILD_DEPENDENCIES="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 libffi-dev"
8-
PYTHON_BUILD_DEPENDENCIES="libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev curl git libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev"
6+
PYTHON_BUILD_DEPENDENCIES="build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev curl git libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev"
97

108
apt_get_update()
119
{
@@ -24,17 +22,7 @@ check_packages() {
2422

2523
export DEBIAN_FRONTEND=noninteractive
2624

27-
INSTALL_PACKAGES="$REQUIRED_PACKAGES"
28-
29-
if [ "$NO_RUBY_DEPENDENCIES" != "true" ]; then
30-
INSTALL_PACKAGES="$INSTALL_PACKAGES $RUBY_BUILD_DEPENDENCIES"
31-
fi
32-
33-
if [ "$NO_PYTHON_DEPENDENCIES" != "true" ]; then
34-
INSTALL_PACKAGES="$INSTALL_PACKAGES $PYTHON_BUILD_DEPENDENCIES"
35-
fi
36-
37-
check_packages $INSTALL_PACKAGES
25+
check_packages $REQUIRED_PACKAGES
3826

3927
install() {
4028
curl https://mise.run | MISE_INSTALL_PATH=/usr/local/bin/mise sh
@@ -49,7 +37,7 @@ fi
4937
EOF
5038
}
5139

52-
echo "(*) Installing mise-on-place..."
40+
echo "(*) Installing mise-en-place..."
5341

5442
install
5543

test/mise/go_latest.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

test/mise/node_latest.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

test/mise/python_latest.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

test/mise/scenarios.json

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)