Merged
Conversation
…utomatically compile binaries for Linux & MacOS whenever code is pushed.
… update only if needed.
…en compiling binaries.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces the initial setup for a Go-based CLI tool (
mmd-cli) that converts Mermaid diagrams to SVG, PNG, and PDF formats. The changes cover build and release automation, cross-platform support, Docker integration, dependency management, and comprehensive documentation. The most important changes are grouped below:Build, Release, and CI Automation
.github/workflows/test.yml) and automated releases (.github/workflows/release.yml), enabling CI/CD for the project. [1] [2].goreleaser.ymlfor cross-platform builds and packaging, supporting Linux and macOS (x64 and ARM64), and automating changelog and checksums.Docker Integration
Dockerfilethat builds the CLI binary and bundles Chromium for headless rendering, plus acompose.yamlfor easy container orchestration. [1] [2].dockerignoreto exclude unnecessary files from Docker builds, improving build efficiency.Cross-Platform Build & Development Tools
Makefilewith targets for building, testing, formatting, cross-compiling for multiple platforms, and Docker management.install.sh) for quick detection of OS/architecture, Chrome/Chromium presence, and fetching the latest binary release.Dependency Management
go.modfor Go module and dependency tracking, includingchromedpfor browser automation andcobrafor CLI parsing.Documentation
README.mdcovering installation methods, requirements, usage examples, CLI flags, configuration options, Docker usage, and cross-compilation instructions.