Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING CHANGE(Makefile): rbmk-small => rbmk-lite #37

Merged
merged 1 commit into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.DS_Store
/rbmk
/rbmk-small
/rbmk-lite
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ help:
@cat Makefile | grep -E '^#doc:' | sed -e 's/^#doc: //g' -e 's/^#doc://'

#doc:
#doc: - `all`: builds `rbmk` and `rbmk-small`
#doc: - `all`: builds `rbmk` and `rbmk-lite`
.PHONY: all
all: rbmk rbmk-small
all: rbmk rbmk-lite

#doc:
#doc: - `rbmk`: build rbmk in the current directory
Expand All @@ -20,10 +20,10 @@ rbmk:
go build -v -o rbmk -ldflags '-s -w' -tags netgo ./cmd/rbmk

#doc:
#doc: - `rbmk-small`: build rbmk without optional features in the current dir
.PHONY: rbmk-small
rbmk-small:
go build -v -o rbmk-small -ldflags '-s -w' -tags rbmk_disable_markdown,netgo ./cmd/rbmk
#doc: - `rbmk-lite`: build rbmk without optional features in the current dir
.PHONY: rbmk-lite
rbmk-lite:
go build -v -o rbmk-lite -ldflags '-s -w' -tags rbmk_disable_markdown,netgo ./cmd/rbmk

#doc:
#doc: - `check`: run tests
Expand All @@ -35,6 +35,6 @@ check:
#doc: - `clean`: remove build artifacts
.PHONY: clean
clean:
rm -f rbmk rbmk-small
rm -f rbmk rbmk-lite

#doc:
Loading