mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Remove unused rvm
This commit is contained in:
parent
a20150a495
commit
53e316ade4
2 changed files with 0 additions and 22 deletions
|
|
@ -1,19 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
if [ $# -ne 1 ] || [ $1 = "--help" ] || [ $1 = "-h" ]; then
|
|
||||||
echo "usage: $0 RVM_ENV_DIR [--help]"
|
|
||||||
echo " RVM_ENV_DIR - Directory to create rvm environment in"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# Get the rvm installer. This is a known version that works reasonably well
|
|
||||||
RVM_INSTALLER=https://raw.github.com/wayneeseguin/rvm/d80282de1f2b2b1ff51740e05d9f5d84ebf3209f/binscripts/rvm-installer
|
|
||||||
|
|
||||||
env_dir=$1
|
|
||||||
mkdir "$env_dir" || exit 1
|
|
||||||
full_env_dir=`pwd`"/$env_dir"
|
|
||||||
|
|
||||||
|
|
||||||
\curl -L "$RVM_INSTALLER" | HOME=$full_env_dir bash -s -- stable --user-install --ignore-dotfiles || exit 1
|
|
||||||
bash -c '. '"$env_dir"'/.rvm/scripts/rvm && rvm install ruby' || exit 1
|
|
||||||
3
setup.py
3
setup.py
|
|
@ -42,7 +42,4 @@ setup(
|
||||||
'validate-manifest = pre_commit.clientlib.validate_manifest:run',
|
'validate-manifest = pre_commit.clientlib.validate_manifest:run',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
scripts=[
|
|
||||||
'scripts/__rvm-env.sh',
|
|
||||||
],
|
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue