Skip to content

Commit

Permalink
Release googlelog version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robklg committed Dec 15, 2024
1 parent 7fc66e0 commit 6269cb8
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions crates/googlelog/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.PHONY: help
help: # Show available `make` commands
@awk -F'#' '\
BEGIN{n=split("$(DOCKER_IMAGES)", docker_images, " ")} \
/^[%a-z][.A-Za-z0-9]+/ { \
if (NF > 1) { \
sub(/:[^#]*/, ""); \
if ($$1 ~ /%/ && $$1 ~ /[Dd]ocker/) { \
line=$$0; \
for (i=1; i<=n; ++i) { \
$$0 = line; \
gsub(/%/, docker_images[i]); \
printf("%-25s %s\n", $$1, $$2) \
} \
} else { \
printf("%-25s %s\n", $$1, $$2) \
} \
} \
}\
/^##/ { printf("\n") }' Makefile

##
.PHONY: pr-prep
pr-prep: # Runs checks to ensure you're ready for a pull request
cargo fmt --all -- --check
cargo clippy -- -D warnings
cargo test
cargo test --doc
cargo build
cargo doc --no-deps --features shipper

publish:
cargo publish --verbose

0 comments on commit 6269cb8

Please sign in to comment.