File tree 6 files changed +11
-8
lines changed
6 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 1
- name : test
1
+ name : CI
2
2
3
3
on :
4
4
push :
5
5
branches : ['main']
6
6
pull_request :
7
- branches : ['main']
8
7
9
8
jobs :
10
9
test :
Original file line number Diff line number Diff line change 1
- name : release
1
+ name : Release
2
2
3
3
on :
4
4
push :
5
5
tags :
6
- - ' *'
6
+ - ' v *'
7
7
8
8
permissions :
9
9
contents : write
Original file line number Diff line number Diff line change 9
9
- linux
10
10
- windows
11
11
- darwin
12
- main : ./cmd/taon
13
12
archives :
14
13
- replacements :
15
14
darwin : Darwin
Original file line number Diff line number Diff line change 1
1
.DEFAULT_GOAL := test
2
2
NAME := taon
3
- SRC := $(wildcard ./cmd/ $( NAME ) / * .go ./pkg/$(NAME ) /* .go)
3
+ SRC := $(wildcard * .go ./pkg/$(NAME ) /* .go)
4
4
5
5
.PHONY : build
6
6
build : $(NAME )
7
7
8
8
$(NAME ) : $(SRC )
9
- go build -o $(NAME ) ./cmd/ $( NAME ) /...
9
+ go build -o $(NAME ) main.go
10
10
11
11
.PHONY : test
12
12
test :
Original file line number Diff line number Diff line change 1
1
# taon
2
2
[ ![ CI Status] ( https://github.com/eiri/taon/actions/workflows/test.yaml/badge.svg )] ( https://github.com/eiri/taon/actions/workflows/test.yaml )
3
3
[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/eiri/taon )] ( https://goreportcard.com/report/github.com/eiri/taon )
4
+ [ ![ release] ( https://img.shields.io/github/release/eiri/taon/all.svg )] ( https://github.com/eiri/taon/releases )
4
5
5
- Transform JSON into ASCII table.
6
+ Transform JSON into ASCII table
6
7
7
8
## Installation
8
9
@@ -16,6 +17,10 @@ Tap `eiri/tap` with `brew tap eiri/tap` and then run `brew install taon` or just
16
17
17
18
Since ` taon ` is just a single binary [ download the latest release] ( https://github.com/eiri/taon/releases ) and place it in your ` $PATH ` .
18
19
20
+ ### Build from source
21
+
22
+ ` go install github.com/eiri/taon@latest `
23
+
19
24
## Usage
20
25
21
26
### Reading
File renamed without changes.
You can’t perform that action at this time.
0 commit comments