v-choco & v-ruby
This commit is contained in:
parent
b5fa139f38
commit
5bba879dde
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
where bundler >nul 2>nul
|
||||
if errorlevel 1 call v-gem install bundler
|
||||
call bundler %*
|
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
where choco.exe >nul 2>nul
|
||||
if errorlevel 1 powershell -c "Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))"
|
||||
choco.exe %*
|
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
where gem >nul 2>nul
|
||||
if errorlevel 1 call v-choco install ruby -y & call refreshenv
|
||||
call gem %*
|
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
where ghc.exe >nul 2>nul
|
||||
if errorlevel 1 call v-choco install ghc -y & call refreshenv
|
||||
ghc %*
|
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
where ghci.exe >nul 2>nul
|
||||
if errorlevel 1 call v-choco install ghc -y & call refreshenv
|
||||
ghci %*
|
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
where irb >nul 2>nul
|
||||
if errorlevel 1 call v-choco install ruby -y & call refreshenv
|
||||
irb %*
|
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
where npm >nul 2>nul
|
||||
if errorlevel 1 call v-choco install nodejs -y & call refreshenv
|
||||
call node %*
|
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
where npm >nul 2>nul
|
||||
if errorlevel 1 call v-choco install nodejs -y & call refreshenv
|
||||
call npm %*
|
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
where ruby.exe >nul 2>nul
|
||||
if errorlevel 1 call v-choco install ruby -y & call refreshenv
|
||||
ruby %*
|
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
where rubyw >nul 2>nul
|
||||
if errorlevel 1 call v-choco install ruby -y & call refreshenv
|
||||
rubyw %*
|
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
where runghc.exe >nul 2>nul
|
||||
if errorlevel 1 call v-choco install ghc -y & call refreshenv
|
||||
runghc %*
|
Binary file not shown.
Loading…
Reference in New Issue