Asher dev (#81)

* Updating GitLab CI, clean up.

* Updating GitLab CI config
This commit is contained in:
Asher Dawes
2018-06-27 13:29:35 -07:00
committed by GitHub
parent 7e7ea6e7b3
commit e96d89daa3
9 changed files with 78 additions and 110 deletions

View File

@@ -1,12 +1,12 @@
VerusCoin Command Line Tools v0.3.8-beta
VerusCoin Command Line Tools v0.3.9-beta
Contents:
komodod - VerusCoin's enhanced Komodo daemon
komodo-cli - VerusCoin's Komodo command line utility
verus - wrapper for komodo-cli that applies the command to the VRSC coin
verusd - wrapper for komodod that sets the VerusCoin parameters to defaults properly
The first time on a new system you will need to run ./zcash-fetch-params.sh before using komodod or verusd.
The first time on a new system you will need to run ./fetch-params.sh before using komodod or verusd.
Run verusd to launch komodod, and use verus to run commands such as:
verus stop
Run ./verusd to launch komodod, and use verus to run commands such as:
./verus stop
Which signals komodod (if it is running) to stop running.

View File

@@ -1,28 +0,0 @@
#!/bin/bash
if [ $# -eq 0 ]
then
echo "Usage: ./update-verus-agama.sh path/to/agama/directory."
echo "No arguments supplied, no updates applied."
exit 1
fi
PASSED=$1
if [ -d "${PASSED}" ] ; then
if [ -f "${PASSED}/resources/app/assets/bin/linux64/komodod" ] ; then
cp komodod ${PASSED}/resources/app/assets/bin/linux64/
cp komodo-cli ${PASSED}/resources/app/assets/bin/linux64/
exit 0
else
echo "No komodod found in ${PASSED}/resources/app/assets/bin/linux64/"
echo "Copying komodod and komodo-cli anyway"
cp komodod ${PASSED}/resources/app/assets/bin/linux64/
cp komodo-cli ${PASSED}/resources/app/assets/bin/linux64/
exit 0
fi
else
echo "Pass the Agama-linux-x64 directory on the command line."
echo "${PASSED} is not a valid directory.";
exit 1
fi

View File

@@ -1,4 +1,4 @@
VerusCoin Command Line Tools v0.3.8-beta
VerusCoin Command Line Tools v0.3.9-beta
Contents:
komodod - VerusCoin's enhanced Komodo daemon.
komodo-cli - VerusCoin's enhanced Komodo command line utility.
@@ -10,7 +10,7 @@ lib*.dylib - assorted dynamic libraries, dependencies needed by fetch-params.sh,
Command line tools are run from the terminal. You can launch the terminal on a Mac by using the Finder, selecting Applications and from that select Utilities, finally selecting Terminal from the Utilities folder.
You will need to switch to the directory you extracted the verus-cl into. If you extracted it in the Download folder then the change directory command is
cd ~/Downloads/verus-cli
The first time on a new system you will need to run ./zcash-fetch-params before using komodod or verusd.
The first time on a new system you will need to run ./fetch-params before using komodod or verusd.
Run ./verusd to launch komodod, and use verus to run commands such as:
./verus stop

View File

@@ -9,7 +9,7 @@ You need to run a command prompt, for example hit <Ctrl><Esc> and type cmd<Enter
From the command prompt change to the directory where you installed verus-cli. If you downloaded the file to your Downloads directory and extracted it there then the change directory command is
cd \Users\MyName\Downloads\verus-cli
From this directory you can run the Verus command line utilities.
The first time on a new system you will need to run zcash-fetch-params.bat before using komodod.exe or verusd.
The first time on a new system you will need to run fetch-params before using komodod.exe or verusd.
Many anti-virus products interfere with the VerusCoin tool's ability to open ports and will need to be configured to allow what the scanner says is unsafe behavior.
Extreme cases can result in the virus scanner deleting Agama.exe or moving it to "protect" the system. You will to add the executables to a whitelist and re-extract the verus-cli-windows.zip file if that happens.
Run verusd.bat to launch komodod, and use verus.bat to run commands such as:

View File

@@ -1,32 +0,0 @@
@echo off
set AGAMA_DIR=%1
if defined AGAMA_DIR (
goto :CHECK_DIR
) else (
call :GET_AGAMA_DIR
goto :CHECK_DIR
)
:GET_AGAMA_DIR
set /p AGAMA_DIR="Please enter the path to the Agama directory i.e ~\Users\{USER}\Downloads\Agama-win32-x64 :"
goto :EOF
:CHECK_DIR
IF NOT EXIST %AGAMA_DIR% (
ECHO "Directory does not exist. No changes applied. Exiting.
goto :EOF
) else (
goto :UPGRADE
)
goto :EOF
:UPGRADE
pushd %~dp0
set SCRIPT_DIR=%CD%
popd
cd %SCRIPT_DIR%
set TARGET=%AGAMA_DIR%\resources\app\assets\bin\win64\
xcopy komodo*.exe %TARGET% /b/v/y || echo UPGRADE FAILED && goto :EOF
echo upgrade successful
goto :EOF