{"id":13472924,"url":"https://github.com/azer/go-makefile-example","last_synced_at":"2025-04-14T10:12:16.890Z","repository":{"id":66734276,"uuid":"145289867","full_name":"azer/go-makefile-example","owner":"azer","description":"Example Makefile for Go projects","archived":false,"fork":false,"pushed_at":"2020-04-27T09:12:05.000Z","size":11,"stargazers_count":263,"open_issues_count":3,"forks_count":39,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-27T23:25:19.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://kodfabrik.com/journal/a-good-makefile-for-go/","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-08-19T09:32:00.000Z","updated_at":"2024-02-21T09:33:57.000Z","dependencies_parsed_at":"2023-03-10T08:45:52.810Z","dependency_job_id":null,"html_url":"https://github.com/azer/go-makefile-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fgo-makefile-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fgo-makefile-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fgo-makefile-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fgo-makefile-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azer","download_url":"https://codeload.github.com/azer/go-makefile-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248860190,"owners_count":21173342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:00:59.221Z","updated_at":"2025-04-14T10:12:16.867Z","avatar_url":"https://github.com/azer.png","language":"Makefile","funding_links":[],"categories":["Makefile"],"sub_categories":[],"readme":"# go-makefile-example\n\nExample project for the Makefile explained in [A Good Makefile for Go](https://kodfabrik.com/journal/a-good-makefile-for-go/) blog post.\n\n## Setup\n\nRun following commands to try it out:\n\n* git clone https://github.com/azer/go-makefile-example.git\n* cd go-makefile-example\n* go get github.com/azer/yolo (needed for file watch)\n* make install\n* make start\n\nIt should now be running at :7777 (defined in `.env` file). You can try making a change and\nsee how the server will get recompiled and restarted automatically.\n\n## Manual\n\nRun `make help` to list available commands:\n\n```\n  λ  make help\n\n Choose a command run in go-makefile-example:\n\n  install   Install missing dependencies. Runs `go get` internally. e.g; make install get=github.com/foo/bar\n  start     Start in development mode. Auto-starts when code changes.\n  stop      Stop development mode.\n  watch     Run given command when code changes. e.g; make watch run=\"echo 'hey'\"\n  compile   Compile the binary.\n  exec      Run given command, wrapped with custom GOPATH. e.g; make exec run=\"go test ./...\"\n  clean     Clean build files. Runs `go clean` internally.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fgo-makefile-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazer%2Fgo-makefile-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fgo-makefile-example/lists"}