https://github.com/pellared/go-build-pipeline-demo
Compare Make, Mage and taskflow
https://github.com/pellared/go-build-pipeline-demo
Last synced: about 1 year ago
JSON representation
Compare Make, Mage and taskflow
- Host: GitHub
- URL: https://github.com/pellared/go-build-pipeline-demo
- Owner: pellared
- Created: 2020-11-13T23:19:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-28T15:06:23.000Z (over 5 years ago)
- Last Synced: 2023-08-02T23:44:28.768Z (almost 3 years ago)
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Build Pipeline Demo
[](https://www.youtube.com/watch?v=AtiUf0uJ4YE)
[Presentation](https://docs.google.com/presentation/d/1fJ26B1D1VkxC-1DppegPCe8YOaA3Ayrbke2yAx-Kzcs/edit?usp=sharing).
This repository demonstrates a very basic build pipeline for a Go project created in:
- **[Make](./make)**
- **[Mage](./mage)**
- **[taskflow](./taskflow)**
## Build Pipeline
The build pipeline, called `all`, consists of the following steps:
### `clean`
Removes files created during the build. It logs which files are removed and which files failed to be removed.
### `fmt`
Simply runs `go fmt ./...`. This target is imported as it can be reused by multiple projects.
### `test`
Runs tests and generates code coverage even if any test fails.