azer / Go Makefile Example
Licence: wtfpl
Example Makefile for Go projects
Stars: ✭ 254
Labels
Projects that are alternatives of or similar to Go Makefile Example
Smallest Secured Golang Docker Image
Create the smallest and secured golang docker image based on scratch
Stars: ✭ 229 (-9.84%)
Mutual labels: makefile
Python Ios Support
A meta-package for building a version of Python that can be embedded into an iOS project.
Stars: ✭ 246 (-3.15%)
Mutual labels: makefile
Bullet Train.zsh
🚄 An oh-my-zsh shell theme based on the Powerline Vim plugin
Stars: ✭ 2,628 (+934.65%)
Mutual labels: makefile
Rhplaceholder
Show pleasant loading view for your users 😍
Stars: ✭ 238 (-6.3%)
Mutual labels: makefile
Verified Smart Contracts
Smart contracts which are formally verified
Stars: ✭ 243 (-4.33%)
Mutual labels: makefile
Mav voxblox planning
MAV planning tools using voxblox as the map representation.
Stars: ✭ 234 (-7.87%)
Mutual labels: makefile
Esp Idf Template
Template application for https://github.com/espressif/esp-idf
Stars: ✭ 227 (-10.63%)
Mutual labels: makefile
Dircolors Solarized
This is a repository of themes for GNU ls (configured via GNU dircolors) that support Ethan Schoonover’s Solarized color scheme.
Stars: ✭ 2,671 (+951.57%)
Mutual labels: makefile
Aosp build
AOSP Build system compatible version of Open GApps
Stars: ✭ 250 (-1.57%)
Mutual labels: makefile
Personal Server
Personal server configuration with k3s
Stars: ✭ 2,784 (+996.06%)
Mutual labels: makefile
go-makefile-example
Example project for the Makefile explained in A Good Makefile for Go blog post.
Setup
Run following commands to try it out:
- git clone https://github.com/azer/go-makefile-example.git
- cd go-makefile-example
- go get github.com/azer/yolo (needed for file watch)
- make install
- make start
It should now be running at :7777 (defined in .env
file). You can try making a change and
see how the server will get recompiled and restarted automatically.
Manual
Run make help
to list available commands:
λ make help
Choose a command run in go-makefile-example:
install Install missing dependencies. Runs `go get` internally. e.g; make install get=github.com/foo/bar
start Start in development mode. Auto-starts when code changes.
stop Stop development mode.
watch Run given command when code changes. e.g; make watch run="echo 'hey'"
compile Compile the binary.
exec Run given command, wrapped with custom GOPATH. e.g; make exec run="go test ./..."
clean Clean build files. Runs `go clean` internally.
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].