{"id":28247047,"url":"https://github.com/maspe36/whip-up","last_synced_at":"2025-06-15T04:31:25.197Z","repository":{"id":57672116,"uuid":"248823310","full_name":"maspe36/whip-up","owner":"maspe36","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-12T14:58:00.000Z","size":13,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-19T10:08:31.524Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maspe36.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}},"created_at":"2020-03-20T18:16:15.000Z","updated_at":"2021-01-13T14:22:46.000Z","dependencies_parsed_at":"2022-08-31T01:24:24.529Z","dependency_job_id":null,"html_url":"https://github.com/maspe36/whip-up","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/maspe36/whip-up","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maspe36%2Fwhip-up","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maspe36%2Fwhip-up/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maspe36%2Fwhip-up/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maspe36%2Fwhip-up/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maspe36","download_url":"https://codeload.github.com/maspe36/whip-up/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maspe36%2Fwhip-up/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259922300,"owners_count":22932484,"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":"2025-05-19T10:08:30.732Z","updated_at":"2025-06-15T04:31:25.183Z","avatar_url":"https://github.com/maspe36.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# whip-up\n```whip-up``` is a build system with strong typing. ```.whip``` files are effectively arbitrary rust code*.\n\n* = With the exception of the Compiler and Target struct. Which are part of the internals of ```whip-up```.\n\n## Example\n\n**.whip file**\n```\nlet gpp = Compiler {\n    path: PathBuf::from(\"/usr/bin/g++\"),\n};\n\nlet example_program = Target {\n    name: \"example_program\",\n    compiler: gpp,\n    files: vec![\n        PathBuf::from(\"main.cpp\"),\n        PathBuf::from(\"foo/bar.hpp\")\n    ]\n};\n\nexample_program.build()\n\n```\n\n**Output g++ command which gets run**\n```\n/usr/bin/g++ -o example_project main.cpp foo/bar.hpp\n```\n\n## Usage\nSay we have the following folder structure and a .whip file with the same contents as the example above.\n```\nprojects/\n|\n└─── examples/\n     |\n     └─── foo/\n     |    └─── bar.hpp\n     |\n     |    example.whip\n     └─── main.cpp\n```\n\nRunning ```whip-up examples/``` from the ```projects``` folder will result in a binary being built in the examples folder\n\n```\nprojects/\n|\n└─── examples/\n     |\n     └─── foo/\n     |    └─── bar.hpp\n     |\n     |    example.whip\n     |    example_program\n     └─── main.cpp\n```\n\n## About\nI started working on this project during the COVID-19 pandemic. I was bored inside and decided to do something productive.\n\nCurrently this project is incredibly bare-bones and rather hacky. It should go without saying, but ```whip-up``` is not recommended for use in production.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaspe36%2Fwhip-up","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaspe36%2Fwhip-up","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaspe36%2Fwhip-up/lists"}