{"id":17445973,"url":"https://github.com/jamen/build","last_synced_at":"2025-08-10T06:03:22.880Z","repository":{"id":57120122,"uuid":"114257700","full_name":"jamen/build","owner":"jamen","description":null,"archived":false,"fork":false,"pushed_at":"2017-12-14T14:08:12.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-08T21:13:04.506Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamen.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-14T14:06:02.000Z","updated_at":"2021-12-19T15:34:15.000Z","dependencies_parsed_at":"2022-08-23T20:00:12.514Z","dependency_job_id":null,"html_url":"https://github.com/jamen/build","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamen/build","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fbuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fbuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fbuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fbuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamen","download_url":"https://codeload.github.com/jamen/build/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamen%2Fbuild/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263640772,"owners_count":23493387,"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-10-17T18:19:20.953Z","updated_at":"2025-07-05T00:36:44.090Z","avatar_url":"https://github.com/jamen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Build\n\n\u003e Tool for building web projects (inspired by GNU Make).\n\nUsing `build` is a lot like `make`, but there are some key differences:\n\n - It uses 2 spaces for indents instead of tabs.\n - The `node_modules/.bin` is automatically in the path.\n - Parallel deps are part of the syntax, not the CLI.\n - Command input can be continued on subsequent lines using a 4 space indent.\n - A lot more simplistic than GNU Make, does not include fancy features.\n\n## Install\n\n```\nnpm i -D @jamen/build\n```\n\nWith [`npx`](https://github.com/zkat/npx) you can build projects without installing:\n\n```\nnpx @jamen/build\n```\n\n## Usage\n\nTo start, create a `buildfile` at the base of your project (next to `package.json`).  This is where you write the tasks.  Using `build [name]` starts the task by name, or the first task if no name is given.\n\nTasks are written like this:\n\n```makefile\nfoo:\n  command --foo\n  command --bar=123\n\nbar: foo\n  command\n    --flag='Hello world'\n    --flag2='Bar baz qux'\n```\n\nOr more formally:\n\n```makefile\nname: ...deps\n  command ...input\n    ...input\n    ...\n```\n\nAnother thing to know is that deps can be run in parallel by prefixing `@`.\n\n```makefile\nfoo: bar @baz\n  echo 'Hello world'\n```\n\nAlso note you can run groups of parallel tasks by switching in and out of the above:\n\n - `foo @bar baz qux`\n - `foo @bar @baz qux`\n - `foo @bar @baz @qux`\n\nA dep without `@` makes it wait for all the tasks before it to start.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamen%2Fbuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamen%2Fbuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamen%2Fbuild/lists"}