All Projects → bketelsen → ngp

bketelsen / ngp

Licence: MIT license
New Go Package

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to ngp

Ngc
NewGoCommand - An opinionated and lightweight project starter. (WORK IN PROGRESS)
Stars: ✭ 16 (-27.27%)
Mutual labels:  build, tooling, semantic-versioning, release
Sailboat
🐍 A quick and easy way to distribute your Python projects!
Stars: ✭ 137 (+522.73%)
Mutual labels:  package, build, release
AzDo.VstsDashboard
Provide a simple way to view all Builds and Releases on a single page. The intend was to see what's currently happened into the CI/CD pipeline and provide quick feedback of what's going on.
Stars: ✭ 16 (-27.27%)
Mutual labels:  build, release
drevops
💧 + 🐳 + ✓✓✓ + 🤖 + ❤️ Build, Test, Deploy scripts for Drupal using Docker and CI/CD
Stars: ✭ 55 (+150%)
Mutual labels:  build, tooling
angular-package-builder
[DEPRECATED] Packages your Angular 4+ library based on the Angular Package Format.
Stars: ✭ 25 (+13.64%)
Mutual labels:  package, build
Axion Release Plugin
Gradle release & version management plugin.
Stars: ✭ 372 (+1590.91%)
Mutual labels:  semantic-versioning, release
Python Semantic Release
Automatic semantic versioning for python projects
Stars: ✭ 301 (+1268.18%)
Mutual labels:  tooling, release
win-svn
apache subversion windows builds with httpd modules and java hl
Stars: ✭ 19 (-13.64%)
Mutual labels:  build, release
React Native Version
🔢 Version your React Native or Expo app in a `npm version` fashion.
Stars: ✭ 408 (+1754.55%)
Mutual labels:  semantic-versioning, release
Cli
🆑📍 Setup automated semver compliant package publishing
Stars: ✭ 272 (+1136.36%)
Mutual labels:  package, release
Xmake Repo
📦 An official xmake package repository
Stars: ✭ 130 (+490.91%)
Mutual labels:  package, build
Python Semver
Python package to work with Semantic Versioning (http://semver.org/)
Stars: ✭ 264 (+1100%)
Mutual labels:  semantic-versioning, release
git-semv
🔖 Git plugin for Semantic Versioning
Stars: ✭ 20 (-9.09%)
Mutual labels:  semantic-versioning, release
bali
Bali - Minimalist Golang build and packaging tool
Stars: ✭ 59 (+168.18%)
Mutual labels:  package, build
Semantic Release
📦🚀 Fully automated version management and package publishing
Stars: ✭ 14,364 (+65190.91%)
Mutual labels:  package, release
next-ver
Tells you the next semantic version for your local package
Stars: ✭ 27 (+22.73%)
Mutual labels:  semantic-versioning, release
fargate-create
A CLI tool for scaffolding out new AWS ECS/Fargate applications based on Terraform templates and Fargate CLI
Stars: ✭ 103 (+368.18%)
Mutual labels:  tooling
get-bin-path
Get the current package's binary path
Stars: ✭ 25 (+13.64%)
Mutual labels:  package
howtheydevops
A curated collection of publicly available resources on how companies around the world practice DevOps
Stars: ✭ 318 (+1345.45%)
Mutual labels:  release
pine-script-mode
GNU Emacs Major mode for Trading View pine script
Stars: ✭ 18 (-18.18%)
Mutual labels:  package

ngp - New Go Package

Description

ngp is an opinionated helper utility that creates some boilerplate for a new Go command or package.

Featuring:

  • HelloGopher - modified makefile inspired by Cloudflare's HelloGopher
  • Docker integration

Output

Run ngp in an empty directory. IT WILL OVERWRITE THINGS RIGHT NOW In the future, it may move existing files or directories that would have been overwritten.

ngp will create:

  • Dockerfile for a project with appropriate settings for a Go command
  • Makefile suitable for any Go project. Based on a modified "HelloGopher" makefile by Cloudflare.

Requirements and Notes

Docker is required for Docker builds.

Doesn't work in Windows without make installed.

Project

Start with an empty directory where you intend to build your project. This directory should be in your GOPATH.

After running ngp, your project will have a Makefile which has everything you need to get started.

Start with setup:

make setup

Make Targets

  • all - run test and build targets
  • bin/ - install coverage, deps, and imports helpers
  • build - make the target binary
  • clean - remove bin
  • cover - run coverage report
  • deps - run dep ensure to install dependencies
  • docker - build the docker image
  • format - format the source code
  • list - list build targets
  • setup - create the project structure and install tools
  • test - run tests
  • tags - list git tags
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].