{"id":39839112,"url":"https://github.com/acrlabs/build-scripts","last_synced_at":"2026-01-18T13:25:20.789Z","repository":{"id":190921444,"uuid":"683575775","full_name":"acrlabs/build-scripts","owner":"acrlabs","description":"Build scripts for Applied Computing projects","archived":false,"fork":false,"pushed_at":"2025-12-15T19:40:55.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-15T15:38:12.342Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/acrlabs.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-08-27T02:43:58.000Z","updated_at":"2025-12-15T19:40:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe13831d-d288-44dc-a847-849fb05f6818","html_url":"https://github.com/acrlabs/build-scripts","commit_stats":null,"previous_names":["acrlabs/build-scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/acrlabs/build-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrlabs%2Fbuild-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrlabs%2Fbuild-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrlabs%2Fbuild-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrlabs%2Fbuild-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acrlabs","download_url":"https://codeload.github.com/acrlabs/build-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acrlabs%2Fbuild-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28536751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T13:04:05.990Z","status":"ssl_error","status_checked_at":"2026-01-18T13:01:44.092Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-18T13:25:19.547Z","updated_at":"2026-01-18T13:25:20.782Z","avatar_url":"https://github.com/acrlabs.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ACRL build-scripts\n\nBuild scripts for Applied Computing Research Labs projects\n\n## To use:\n\nAdd this repo as a submodule in your repo:\n\n```\ngit submodule add https://github.com/acrlabs/build-scripts build\n```\n\nCreate a `Makefile` in your project defining a list of build artifacts in the `ARTIFACTS` variable;\nThen, include `build/base.mk, and then define a build target for `$(ARTIFACTS)`.  You should also define build targets\nfor `test`, `lint`, and `cover` (these can be empty if you don't want to do anything here).  Note the ordering is\nimportant here.\n\nYou can reference `$(BUILD_DIR)` and `$(K8S_MANIFEST_DIR)` in your build targets.\n\nThe default build target is `build image run` which builds your artifacts, creates Docker images for them, and deploys\nthem to your Kubernetes cluster.  You can also run `make verify` to run `lint test cover`.\n\nIf you want to change the behaviour of the `run` target, redefine the `RUN_COMMANDS` variable after including the base\nMakefile, as follows:\n\n```\ninclude build/base.mk\n\ndefine RUN_COMMANDS\n    command1\n    command2\n    ...\nendef\n```\n\n## Example project makefile:\n\n```\nARTIFACTS=binary1 binary2\n\ninclude build/base.mk\n\n$(ARTIFACTS):\n\tCGO_ENABLED=0 go build -trimpath -o $(BUILD_DIR)/$@ ./cmd/$@\n\nlint:\n\tgolangci-lint run\n\ncover:\n\tgo-carpet -summary\n```\n\n---\n\n\u003cp style=\"text-align: center\" xmlns:dct=\"http://purl.org/dc/terms/\" xmlns:vcard=\"http://www.w3.org/2001/vcard-rdf/3.0#\"\u003e\n  \u003ca rel=\"license\"\n     href=\"http://creativecommons.org/publicdomain/zero/1.0/\"\u003e\n    \u003cimg src=\"http://i.creativecommons.org/p/zero/1.0/88x31.png\" style=\"border-style: none;\" alt=\"CC0\" /\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n  To the extent possible under law,\n  \u003ca rel=\"dct:publisher\"\n     href=\"https://appliedcomputing.io\"\u003e\n    \u003cspan property=\"dct:title\"\u003eApplied Computing Research Labs, LLC\u003c/span\u003e\u003c/a\u003e\n  has waived all copyright and related or neighboring rights to\n  this work.\nThis work is published from:\n\u003cspan property=\"vcard:Country\" datatype=\"dct:ISO3166\"\n      content=\"US\" about=\"https://appliedcomputing.io\"\u003e\n  United States\u003c/span\u003e.\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facrlabs%2Fbuild-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facrlabs%2Fbuild-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facrlabs%2Fbuild-scripts/lists"}