Skip to content

Commit

Permalink
Build with redo
Browse files Browse the repository at this point in the history
  • Loading branch information
Oskar Sharipov committed Jul 22, 2022
1 parent 12625dd commit b56a9d9
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# project binary
/minitrust

# redo metadata
.redo/
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,13 @@ minitrust uses [go-minisign][go-minisign].

## Compile

Build from source with Go 1.18+.

% go build -o . ./cmd/minitrust/minitrust.go

Also, building with redo is supported.

% redo

For more information about redo, I recommend installing
[goredo](http://www.goredo.cypherpunks.ru/).
1 change: 1 addition & 0 deletions all.do
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
redo-ifchange minitrust
1 change: 1 addition & 0 deletions clean.do
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rm -f minitrust
3 changes: 3 additions & 0 deletions minitrust.do
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
redo-ifchange cmd/minitrust/minitrust.go *.go

go build -o $3 ./cmd/minitrust

0 comments on commit b56a9d9

Please sign in to comment.