Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.1 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.1 KB

Number quizz

numberquizz will prompt you for the binary or hexadecimal chosen between 0 and a max value.

Usage

$ numberquizz [--max <int>]

Installation

Run git clone https://github.com/CaptainQuirk/numberquizz.git

Configuration

Configure the GOBIN variable

  • Create a globally ignored .rc.d directory with a go.zsh file in it with the following information
#!/usr/bin/zsh

go env -w GOBIN=<path-to-project>/numberquizz/bin

This will reference the bin directory inside the repository as the location where build binary should go

Add the GOBIN directory to the path

PATH_add /home/leonard/Projects/CaptainQuirk/LearnGo/Code/numberquizz/bin
  • Run direnv allow

Build

  • Run make build or go install