{"id":13407956,"url":"https://github.com/psake/psake","last_synced_at":"2025-05-12T15:24:12.063Z","repository":{"id":665409,"uuid":"308512","full_name":"psake/psake","owner":"psake","description":"A build automation tool written in PowerShell","archived":false,"fork":false,"pushed_at":"2025-03-09T14:53:49.000Z","size":5225,"stargazers_count":1573,"open_issues_count":27,"forks_count":272,"subscribers_count":82,"default_branch":"main","last_synced_at":"2025-05-11T08:22:57.233Z","etag":null,"topics":["build","powershell","psake"],"latest_commit_sha":null,"homepage":"https://psake.dev","language":"PowerShell","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/psake.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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},"funding":{"github":"devblackops","patreon":"devblackops","open_collective":"psake"}},"created_at":"2009-09-16T04:44:07.000Z","updated_at":"2025-05-07T17:19:50.000Z","dependencies_parsed_at":"2024-11-09T10:21:52.553Z","dependency_job_id":"d9a86165-adcf-410d-9d67-d1a5941d2b06","html_url":"https://github.com/psake/psake","commit_stats":{"total_commits":540,"total_committers":93,"mean_commits":5.806451612903226,"dds":0.8037037037037037,"last_synced_commit":"79b5930adbbb80c6971a5c7afd9d39f9f531a3cf"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psake%2Fpsake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psake%2Fpsake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psake%2Fpsake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psake%2Fpsake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psake","download_url":"https://codeload.github.com/psake/psake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253764157,"owners_count":21960523,"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":["build","powershell","psake"],"created_at":"2024-07-30T20:00:49.788Z","updated_at":"2025-05-12T15:24:12.039Z","avatar_url":"https://github.com/psake.png","language":"PowerShell","readme":"Welcome to the psake project\r\n=============================\r\n\r\n| Azure Pipelines | GitHub Actions | PS Gallery | Chocolatey | Nuget.org |\r\n|-----------------|----------------|------------|------------|-----------|\r\n[![Azure Pipelines Build Status][azure-pipeline-badge]][azure-pipeline-build] | [![GitHub Actions Status][github-actions-badge]][github-actions-build] | [![PowerShell Gallery][psgallery-badge]][psgallery] | [![Chocolatey][chocolatey-badge]][chocolatey] | [![Nuget downloads][nuget-downloads]][nuget] |\r\n\r\npsake is a build automation tool written in PowerShell. It avoids the angle-bracket tax associated with executable XML by leveraging the PowerShell syntax in your build scripts.\r\npsake has a syntax inspired by rake (aka make in Ruby) and bake (aka make in Boo), but is easier to script because it leverages your existing command-line knowledge.\r\n\r\npsake is pronounced sake – as in Japanese rice wine. It does NOT rhyme with make, bake, or rake.\r\n\r\n## How to get started\r\n\r\n**Step 1:** Download and extract the project\r\n\r\nYou will need to \"unblock\" the zip file before extracting - PowerShell by default does not run files downloaded from the Internet.\r\nJust right-click the zip and click on \"properties\" and click on the \"unblock\" button.\r\n\r\n**Step 2:** CD into the directory where you extracted the project (where the psake.psm1 file is)\r\n\r\n\u003e Import-Module .\\psake.psm1\r\n\r\nIf you encounter the following error \"Import-Module : ...psake.psm1 cannot be loaded because the execution of scripts is disabled on this system.\" Please see \"get-help about_signing\" for more details.\r\n\r\n1. Run PowerShell as administrator\r\n2. Set-ExecutionPolicy RemoteSigned\r\n\r\n\u003e Get-Help Invoke-psake -Full\r\n\u003e\r\n\u003e - this will show you help and examples of how to use psake\r\n\r\n**Step 3:** Run some examples\r\n\r\n\u003e CD .\\examples\r\n\u003e\r\n\u003e Invoke-psake\r\n\u003e\r\n\u003e - This will execute the \"default\" task in the \"psakefile.ps1\"\r\n\u003e\r\n\u003e Invoke-psake .\\psakefile.ps1 Clean\r\n\u003e\r\n\u003e - will execute the single task in the psakefile.ps1 script\r\n\r\n**Step 4:** Set your PATH variable\r\n\r\nIf you wish to use the psake command from outside of the install folder, add the folder install directory to your PATH variable.\r\n\r\n**Step 5: (With VS2017)** Install the VSSetup dependency\r\n\r\npsake uses [VSSetup](https://blogs.msdn.microsoft.com/heaths/2017/01/25/visual-studio-setup-powershell-module-available/) to locate msbuild when using Visual Studio 2017.  The VSSetup PowerShell module must be installed prior to compiling a VS2017 project with psake.  Install instructions for VSSetup can be found [here](https://github.com/Microsoft/vssetup.powershell#installing) and [here](https://www.powershellgallery.com/packages/VSSetup).\r\n\r\n## Release Notes\r\n\r\nYou can find all the information about each release of psake in the [releases section](https://github.com/psake/psake/releases) and the [Changelog](CHANGELOG.md).\r\n\r\n## How To Contribute, Collaborate, Communicate\r\n\r\nIf you'd like to get involved with psake, we have [GitHub Discussions](https://github.com/orgs/psake/discussions), the #psake channel on the [PowerShell Discord](https://aka.ms/psdiscord), and the #psake channel on [PowerShell Slack](https://aka.ms/psslack).\r\n\r\nAnyone can fork the main repository and submit patches, as well. And lastly, the [psake docs](http://github.com/psake/docs) and [issues list](http://github.com/psake/psake/issues) are also open for additions, edits, and discussion.\r\n\r\nAlso check out the **[psake-contrib](http://github.com/psake/psake-contrib)** project for scripts, modules and functions to help you with a build.\r\n\r\n## License\r\n\r\npsake is released under the [MIT license](http://www.opensource.org/licenses/MIT).\r\n\r\n[azure-pipeline-badge]: https://dev.azure.com/devblackops/psake/_apis/build/status/psake.psake?branchName=main\r\n[azure-pipeline-build]: https://dev.azure.com/devblackops/psake/_build/latest?definitionId=5\u0026branchName=main\r\n[github-actions-badge]: https://github.com/psake/psake/workflows/CI/badge.svg\r\n[github-actions-build]: https://github.com/psake/psake/actions\r\n[gitter-badge]: https://badges.gitter.im/Join%20Chat.svg\r\n[gitter]: https://gitter.im/psake/psake?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge\r\n[psgallery-badge]: https://img.shields.io/powershellgallery/dt/psake.svg\r\n[psgallery]: https://www.powershellgallery.com/packages/psake\r\n[chocolatey-badge]: https://img.shields.io/chocolatey/dt/psake.svg\r\n[chocolatey]: https://chocolatey.org/packages/psake\r\n[nuget-downloads]: https://img.shields.io/nuget/dt/psake.svg\r\n[nuget]: https://www.nuget.org/packages/psake/\r\n","funding_links":["https://github.com/sponsors/devblackops","https://patreon.com/devblackops","https://opencollective.com/psake"],"categories":["Build Automation","自动构建","PowerShell","自动构建（Build Automation）","🛠️ Build Tools","Build Tools"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsake%2Fpsake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsake%2Fpsake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsake%2Fpsake/lists"}