From ef2ed96e63a4310de99ccd1b0ae466189d317fe8 Mon Sep 17 00:00:00 2001 From: Azareal Date: Fri, 29 Sep 2017 00:54:02 +0100 Subject: [PATCH] Oopsies, need to update these with the new dependency. --- install-linux | 10 ++++++++++ install.bat | 23 +++++++++++++++++++++++ update-deps-linux | 10 ++++++++++ update-deps.bat | 14 ++++++++++++++ 4 files changed, 57 insertions(+) diff --git a/install-linux b/install-linux index 86449706..c0e7b6c4 100644 --- a/install-linux +++ b/install-linux @@ -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 diff --git a/install.bat b/install.bat index 1a66b5f3..06f656af 100644 --- a/install.bat +++ b/install.bat @@ -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 diff --git a/update-deps-linux b/update-deps-linux index be5daabb..568bc0ce 100644 --- a/update-deps-linux +++ b/update-deps-linux @@ -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 diff --git a/update-deps.bat b/update-deps.bat index 503c52f4..53257147 100644 --- a/update-deps.bat +++ b/update-deps.bat @@ -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