mirror of
https://github.com/Warky-Devs/go-mdtopdf-helper.git
synced 2026-11-25 13:48:47 +00:00
feat(engine): add Chromedp and Wkhtmltopdf engines for PDF conversion
* implement gopdfEngine for direct PDF rendering * create HTML rendering function for markdown * add tests for engine functionality * remove main.go as entry point
This commit is contained in:
1 parent
73f258aa95
commit
50b7246c21
23 files changed
+1948
-393
No files matched your search
@@ -0,0 +1,25 @@
|
||||
BINARY := go-mdtopdf-helper
|
||||
BIN_DIR := bin
|
||||
CMD := ./cmd/go-mdtopdf-helper
|
||||
|
||||
.PHONY: all build run test lint format clean
|
||||
|
||||
all: format lint test build
|
||||
|
||||
build:
|
||||
go build -o $(BIN_DIR)/$(BINARY) $(CMD)
|
||||
|
||||
run:
|
||||
go run $(CMD) $(ARGS)
|
||||
|
||||
test:
|
||||
go test ./...
|
||||
|
||||
lint:
|
||||
golangci-lint run ./...
|
||||
|
||||
format:
|
||||
gofmt -s -w .
|
||||
|
||||
clean:
|
||||
rm -rf $(BIN_DIR)
|
||||
Reference in new issue
Block a user