{"id":28389843,"url":"https://github.com/spectrevert/doze","last_synced_at":"2025-10-07T01:34:07.817Z","repository":{"id":107384724,"uuid":"469206353","full_name":"SpectreVert/doze","owner":"SpectreVert","description":"A modulable and minimalist toy build system.","archived":false,"fork":false,"pushed_at":"2025-09-06T00:55:57.000Z","size":74,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-06T02:37:32.172Z","etag":null,"topics":["build-system","go"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpectreVert.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":"2022-03-12T21:40:19.000Z","updated_at":"2025-09-06T00:56:00.000Z","dependencies_parsed_at":"2025-04-10T19:32:06.967Z","dependency_job_id":"5c067ce8-918a-42e6-9b66-c5efff0402db","html_url":"https://github.com/SpectreVert/doze","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/SpectreVert/doze","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpectreVert%2Fdoze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpectreVert%2Fdoze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpectreVert%2Fdoze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpectreVert%2Fdoze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpectreVert","download_url":"https://codeload.github.com/SpectreVert/doze/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpectreVert%2Fdoze/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708076,"owners_count":26031932,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["build-system","go"],"created_at":"2025-05-31T02:31:52.852Z","updated_at":"2025-10-07T01:34:07.800Z","avatar_url":"https://github.com/SpectreVert.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Doze\n\nA modulable and minimalist build system.\n\n## Goals\n\n- [X] Artifacts based\n- [X] Easy to operate and to extend\n- [ ] Only rebuild what is missing from disk (in progress)\n- [ ] Support for expressing source and build directories (in progress)\n- [ ] Local and remote build caches (todo)\n- [ ] Daemon-mode with filesystem monitoring\n\n## Design\n\nDoze works with files on disk, which we call artifacts. It turns input artifacts into output artifacts following a build graph defined in a Dozefile. The inputs are turned into outputs following a user-defined procedure written directly in Go and embedded in the Doze binary.\n\nA build can be triggered by running Doze manually from a terminal like it is usually the case with traditional build systems. Doze can also be launched in the background and left to monitor inputs of a project, automatically rebuilding only the parts that are affected by the operator/developer (not implemented yet).\n\n## Usage\n\nDoze does not implement a [DSL](https://en.wikipedia.org/wiki/Domain-specific_language) to configure its builds. Instead it uses a very simple `yaml` schema declared in a `Dozefile.yaml` file as described in the example below.\n\n```yaml\nrules:\n  - do: lang:c:object_file\n    inputs: [parse.c, parse.h]\n    outputs: [parse.o]\n\n  - do: lang:c:object_file\n    inputs: [main.c, parse.h]\n    outputs: [main.o]\n\n  - do: lang:c:executable\n    inputs: [parse.o, main.o]\n    outputs: [exe]\n```\n\nA rule defines a procedure to use, a set of input artifacts and a set of outputs. In this repository are provided two example procedures, `lang:c:object_file` and `lang:c:executable` to respectively build C object files and C executables. Their implementation is store in [procedures/lang_c/main.go](./procedures/lang_c/main.go). Registering a procedure in the `init` function of their modules embeds it directly in the Doze executable, given that the module of the procedure is included in the [Doze main module](./cli/main.go#L9).\n\nThere is no restriction on the order in which the rules are declared. Doze will only execute rules which are ready to execute; that is those which have all of their inputs ready for processing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspectrevert%2Fdoze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspectrevert%2Fdoze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspectrevert%2Fdoze/lists"}