Oopsies, need to update these with the new dependency.

This commit is contained in:
Azareal 2017-09-29 00:54:02 +01:00
parent 47963e10a9
commit ef2ed96e63
4 changed files with 57 additions and 0 deletions

View File

@ -1,14 +1,24 @@
echo "Installing the MySQL Driver"
go get -u github.com/go-sql-driver/mysql
echo "Installing the PostgreSQL Driver"
go get -u github.com/lib/pq
echo "Installing bcrypt"
go get -u golang.org/x/crypto/bcrypt
echo "Installing gopsutil"
go get -u github.com/Azareal/gopsutil
echo "Installing Gorilla WebSockets"
go get -u github.com/gorilla/websocket
echo "Installing Sourcemap (dependency for OttoJS)"
go get -u gopkg.in/sourcemap.v1
echo "Install OttoJS"
go get -u github.com/robertkrimen/otto
echo "Building the installer"
cd ./install
go generate

View File

@ -1,39 +1,48 @@
@echo off
echo Installing the dependencies
echo Installing the MySQL Driver
go get -u github.com/go-sql-driver/mysql
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
echo Installing the PostgreSQL Driver
go get -u github.com/lib/pq
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
echo Installing the bcrypt library
go get -u golang.org/x/crypto/bcrypt
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
echo Installing /x/sys/windows (dependency for gopsutil)
go get -u golang.org/x/sys/windows
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
echo Installing wmi (dependency for gopsutil)
go get -u github.com/StackExchange/wmi
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
echo Installing the gopsutil library
go get -u github.com/Azareal/gopsutil
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
echo Installing the WebSockets library
go get -u github.com/gorilla/websocket
if %errorlevel% neq 0 (
@ -41,6 +50,20 @@ if %errorlevel% neq 0 (
exit /b %errorlevel%
)
echo Installing Sourcemap (dependency for OttoJS)
go get -u gopkg.in/sourcemap.v1
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
echo Installing the OttoJS
go get -u github.com/robertkrimen/otto
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
echo Building the installer
go generate
go build ./install

View File

@ -1,10 +1,20 @@
echo "Updating the MySQL Driver"
go get -u github.com/go-sql-driver/mysql
echo "Updating the PostgreSQL Driver"
go get -u github.com/lib/pq
echo "Updating bcrypt"
go get -u golang.org/x/crypto/bcrypt
echo "Updating gopsutil"
go get -u github.com/Azareal/gopsutil
echo "Updating Gorilla WebSockets"
go get -u github.com/gorilla/websocket
echo "Updating Sourcemap (dependency for OttoJS)"
go get -u gopkg.in/sourcemap.v1
echo "Updating OttoJS"
go get -u github.com/robertkrimen/otto

View File

@ -47,5 +47,19 @@ if %errorlevel% neq 0 (
exit /b %errorlevel%
)
echo Updating Sourcemap (dependency for OttoJS)
go get -u gopkg.in/sourcemap.v1
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
echo Updating OttoJS
go get -u github.com/robertkrimen/otto
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
echo The dependencies were successfully updated
pause