3echo "${_GREEN}BUILD STARTED${_RESET}"
6if [ -d "$_XMRIG_CLONE_LOCATION" ]; then
8 # Change to clone directory
11 if git branch | grep -q -m1 "* $_XMRIG_BRANCH"; then
12 # Pull changes from source
19 # Switch to required branch
20 git checkout $_XMRIG_BRANCH
22 # Pull changes from source
30 git clone $_XMRIG_REPO $_XMRIG_CLONE
32 # Change to clone directory
35 # Fetch list of branches in origin
38 # Checkout required branch
39 git checkout $_XMRIG_BRANCH
45# Copy binary to directory in env path
46sudo cp $_XMRIG_BUILD_LOCATION/xmrig $_XMRIG_TARGET_LOCATION
50echo "${_CYAN}BUILD STOPPED${_RESET}"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list