Skip to content

Commit fb86a74

Browse files
Put executables in ./bin/ folder
1 parent 3085464 commit fb86a74

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ go.work.sum
2323

2424
# env file
2525
.env
26+
27+
# Executables
28+
bin/

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.PHONY: build
22
build:
3-
go build -o recite cmd/recite/main.go
4-
go build -o cli cmd/cli/main.go
3+
go build -o bin/api cmd/recite/main.go
4+
go build -o bin/cli cmd/cli/main.go
55

66
.PHONY: run-api
77
run-api:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ To build and launch the CLI version of `recite`, run
1919

2020
```bash
2121
make
22-
./cli "https://example-article.com/index"
22+
bin/cli "https://example-article.com/index"
2323
```
2424

2525
To run the API version, run
2626

2727
```bash
28-
make api # or ./api after building
28+
make api # or bin/api after building
2929
```
3030

3131
## Contributing

0 commit comments

Comments
 (0)