~gsthnz/mtrnm

30a93222241d4ea001baab1fcc788060ab0de098 — Gustavo Heinz 1 year, 1 month ago 5afab86 master
Add makefile and readme
3 files changed, 45 insertions(+), 0 deletions(-)

A .gitignore
A Makefile
A README.md
A .gitignore => .gitignore +1 -0
@@ 0,0 1,1 @@
mtrnm

A Makefile => Makefile +12 -0
@@ 0,0 1,12 @@
.POSIX:

PREFIX?=/usr/local
BINDIR?=$(PREFIX)/bin

all: mtrnm

mtrnm:
	go build

install: all
	install -m755 mtrnm $(DESTDIR)$(BINDIR)/mtrnm

A README.md => README.md +32 -0
@@ 0,0 1,32 @@
# mtrnm

Simple CLI Metronome

## Usage
```
mtrnm

Usage of mtrnm:
  -bpm int
    	BPM (default 80)
  -p int
    	Pulses (default 4)
```

## Building
With go installed, run:

```
make
```

## Installing
```
make install
```

## Contributing
Patches and questions? Send to my [public
inbox](https://lists.sr.ht/~gsthnz/public-inbox):
[`~gsthnz/public-inbox@lists.sr.ht`](mailto:~gsthnz/public-inbox@lists.sr.ht).
Thanks!