{"id":28476116,"url":"https://github.com/tdfischer/buildenv","last_synced_at":"2025-07-01T19:31:02.314Z","repository":{"id":4407658,"uuid":"5545065","full_name":"tdfischer/buildenv","owner":"tdfischer","description":null,"archived":false,"fork":false,"pushed_at":"2015-06-08T17:27:03.000Z","size":308,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-07T15:06:04.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/tdfischer.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":"2012-08-24T19:52:50.000Z","updated_at":"2015-03-12T06:33:15.000Z","dependencies_parsed_at":"2022-09-11T09:40:47.681Z","dependency_job_id":null,"html_url":"https://github.com/tdfischer/buildenv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tdfischer/buildenv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdfischer%2Fbuildenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdfischer%2Fbuildenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdfischer%2Fbuildenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdfischer%2Fbuildenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tdfischer","download_url":"https://codeload.github.com/tdfischer/buildenv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdfischer%2Fbuildenv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263025048,"owners_count":23401709,"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-06-07T15:06:04.976Z","updated_at":"2025-07-01T19:31:02.306Z","avatar_url":"https://github.com/tdfischer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Writing an environment:\n  Place it in environments/\u003cname\u003e/_load.sh\n  When unloaded, it will execute environments/\u003cname\u003e/_teardown.sh\n  Add hooks to environments/\u003cname\u003e/\u003chook\u003e.sh\n\n# Extensions\n\nExtensions are small plugins for buildenv that provide extra functionality,\nsuch as prompt information, support for other buildsystems, environment\nvariables, etc.\n\nTo enable an extension, edit $BUILDENV_HOME/config/$USER.sh and add the\nfollowing:\n\n  buildenv_load_extension extension-name\n\n## Available extensions:\n\n### vim\n### pkgconfig\n### cmake\n### git\n### autojump\n### autocomplete\n### prompt\n\n# Available hooks:\n\n## Special hooks:\n\nHooks that begin with an underscore handle special events that\naffect a single buildenv or extension.\n\n_load\n  Called once, when the environment or extension is loaded.\n  A great place to define any library functions needed.\n\n_teardown\n  Called once, when the environment or extension is unloaded.\n  A great place to run any cleanup code, such as undefining functions.\n\n## Normal hooks\n\nThese hooks represent various events in the buildenv system.\n\nbuildenv-loaded\n  A new buildenv is loaded\n\nbuildenv-unloaded\n  A buildenv is unloaded\n\nbuildenv-changed\n  The current 'master' buildenv is changed\n\ninit\n  Buildenv is completely loaded\n\nreport\n  Called from within buildenv_report.\n\nrestore-all\n  _buildenv_restore_all is about to restore the environment to original values\n\nload-config\n  A configuration is activated.\n\nfirstrun\n  'buildenv' was executed for the first time.\n  Useful for any kind of initialization you'd otherwise want to delay until\n  you know the user will be actually using buildenv.\n\nprompt\n  Whenever the shell prompt is regenerated.\n  WARNING: This function needs to be pretty much *instant*, as bash does not\n  show the prompt 'till it is done.\n\n# Update Mechanism\n\nThere is a rudimentary update mechanism that assumes $BUILDENV_HOME is a git\nrepository, originally cloned from somewhere (has an 'origin' remote).\n\nTo use, run buildenv_update\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdfischer%2Fbuildenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftdfischer%2Fbuildenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdfischer%2Fbuildenv/lists"}