{"id":14961046,"url":"https://github.com/mob-sakai/simplebuildinterface","last_synced_at":"2025-10-24T20:30:51.806Z","repository":{"id":109499641,"uuid":"311244386","full_name":"mob-sakai/SimpleBuildInterface","owner":"mob-sakai","description":"A simple build interface for Unity CLI. Support all platforms without executeMethod option.","archived":false,"fork":false,"pushed_at":"2024-01-06T23:51:40.000Z","size":41,"stargazers_count":25,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-31T03:55:40.018Z","etag":null,"topics":["build","cli","unity3d","upm-package"],"latest_commit_sha":null,"homepage":"","language":"C#","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/mob-sakai.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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":"mob-sakai","patreon":"mob_sakai","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-11-09T06:29:16.000Z","updated_at":"2023-01-15T06:09:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"c59fe1d5-ee8d-4704-bf17-4b6720d3bb8c","html_url":"https://github.com/mob-sakai/SimpleBuildInterface","commit_stats":{"total_commits":23,"total_committers":2,"mean_commits":11.5,"dds":"0.21739130434782605","last_synced_commit":"40af950d588231b21aab83eddba47d1b4672fa99"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mob-sakai%2FSimpleBuildInterface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mob-sakai%2FSimpleBuildInterface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mob-sakai%2FSimpleBuildInterface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mob-sakai%2FSimpleBuildInterface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mob-sakai","download_url":"https://codeload.github.com/mob-sakai/SimpleBuildInterface/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238030288,"owners_count":19404859,"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","cli","unity3d","upm-package"],"created_at":"2024-09-24T13:23:42.978Z","updated_at":"2025-10-24T20:30:46.525Z","avatar_url":"https://github.com/mob-sakai.png","language":"C#","funding_links":["https://github.com/sponsors/mob-sakai","https://patreon.com/mob_sakai","https://www.patreon.com/join/mob_sakai?"],"categories":[],"sub_categories":[],"readme":"Simple Build Interface for Unity CLI\n===\n\n[![](https://img.shields.io/npm/v/com.coffee.simple-build-interface?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.coffee.simple-build-interface/)\n[![](https://img.shields.io/github/v/release/mob-sakai/SimpleBuildInterface?include_prereleases)](https://github.com/mob-sakai/SimpleBuildInterface/releases)\n[![](https://img.shields.io/github/release-date/mob-sakai/SimpleBuildInterface.svg)](https://github.com/mob-sakai/SimpleBuildInterface/releases)  [![](https://img.shields.io/github/license/mob-sakai/SimpleBuildInterface.svg)](https://github.com/mob-sakai/SimpleBuildInterface/blob/master/LICENSE.txt)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-orange.svg)](http://makeapullrequest.com)  \n![](https://img.shields.io/badge/Unity%202018.3+-supported-blue.svg)  \n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/mob-sakai/CSharpCompilerSettingsForUnity/unity-test)\n[![Test](https://mob-sakai.testspace.com/spaces/130862/badge?token=43a50d2fc998aa362d36934597de0c84527e5690)](https://mob-sakai.testspace.com/spaces/130862)\n[![CodeCoverage](https://mob-sakai.testspace.com/spaces/130862/metrics/99758/badge)](https://mob-sakai.testspace.com/spaces/130862/current/Code%20Coverage/Code%20Coverage\")\n\n\n\u003c\u003c [Description](#Description) | [Installation](#installation) | [Usage](#usage) | [Development Note](#development-note) | [Change log](https://github.com/mob-sakai/SimpleBuildInterface/blob/master/CHANGELOG.md) \u003e\u003e\n\n\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## Description\n\nUnity supports to build for standalone platforms (Windows/macOS/Linux) from the command line.\n\n```sh\n# Lunch Unity to ...\n/Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -projectPath .\n\n# build for specific standalone platform.\n... -buildLinux64Player \u003cpathname\u003e\n... -buildOSXUniversalPlayer \u003cpathname\u003e\n... -buildWindowsPlayer \u003cpathname\u003e\n... -buildWindows64Player \u003cpathname\u003e\n```\n\nThis plugin provides a simple build interface to build all platforms **without `executeMethod` option**.\n\n```sh\n# Lunch Unity to ...\n/Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -projectPath .\n\n# build for specific platform.\n... -build -buildTarget WebGL\n```\n\nThis command is equivalent to run `Build Settings \u003e Build` on WebGL platform.\n\n![](https://user-images.githubusercontent.com/12690315/98614365-a13b6900-233b-11eb-8529-05a49fc7000e.png)\n\nSee [Usage](#usage) for details.\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## Installation\n\n### Requirement\n\n![](https://img.shields.io/badge/Unity%202018.3+-supported-blue.svg)\n\n### Using OpenUPM\n\nThis package is available on [OpenUPM](https://openupm.com).  \nYou can install it via [openupm-cli](https://github.com/openupm/openupm-cli).\n```\nopenupm add com.coffee.simple-build-interface\n```\n\n### Using Git\n\nFind `Packages/manifest.json` in your project and add a line to `dependencies` field.\n\n```\n\"com.coffee.simple-build-interface\": \"https://github.com/mob-sakai/SimpleBuildInterface.git\"\n```\n\nTo update the package, change suffix `#{version}` to the target version.\n\n* e.g. `\"com.coffee.simple-build-interface\": \"https://github.com/mob-sakai/SimpleBuildInterface.git#1.0.0\",`\n\nOr, use [UpmGitExtension](https://github.com/mob-sakai/UpmGitExtension) to install and update the package.\n\n\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## Usage\n\n```sh\n# Lunch Unity to ...\n/Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -projectPath .\n\n# build for current platform.\n... -build\n\n# build for specific platform.\n... -build -buildTarget WebGL\n\n# build with full-option.\n... -build -buildTarget WebGL \\\n  -out \"production_build\" \\\n  -buildOptions \"Development;!ConnectWithProfiler\" \\\n  -scenes \"Level1;!EditorLevel1\" \\\n  -assetBundleManifestPath \"AssetBundles/manifest\" \\\n  -extraScriptingDefines \"EXTRA_SYMBOL;EXTRA_SYMBOL2\"\n```\n\n| Option                                 | Description                                                                        |\n| -------------------------------------- | ---------------------------------------------------------------------------------- |\n| `-build`                               | **(Required)**\u003cbr\u003eBuild the project for current. platform                          |\n| `-out \u003cpath\u003e`                          | Output path\u003cbr\u003eDefault: `{BuildTarget}_Build`.                                     |\n| `-buildOptions \u003coptions,...\u003e`          | Add/remove [BuildOptions][opt] to build. \u003csup\u003e[1](#fn1)\u003c/sup\u003e \u003csup\u003e[2](#fn2)\u003c/sup\u003e |\n| `-scenes \u003cnames,...\u003e`                  | Add/remove scene names to build.  \u003csup\u003e[1](#fn1)\u003c/sup\u003e \u003csup\u003e[2](#fn2)\u003c/sup\u003e        |\n| `-assetBundleManifestPath \u003cpath\u003e`      | Path to AssetBundleManifest.                                                       |\n| `-extraScriptingDefines \u003csymbols,...\u003e` | Extra scripting defines for building player.  \u003csup\u003e[1](#fn1)\u003c/sup\u003e                 |\n\n\u003cbr\u003e\n\n\u003ca name=\"fn1\"\u003e1\u003c/a\u003e: Multiple values must be separated by a semi-colon (`;`) or a comma (`,`).  \n\u003ca name=\"fn2\"\u003e2\u003c/a\u003e: Prefix 'not' (`!`) to exclude the specified value.\n\n[opt]: https://docs.unity3d.com/ScriptReference/BuildOptions.html\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## Development Note\n\n### Execution order\n\n1. `InitializeOnLoad`\n2. `InitializeOnLoadMethod`\n3. `DidReloadScripts`\n4. The method specified by the `-executeMethod` option\n5. **Build by this plugin**\n\nYou can customize the build parameters using any method you like. :)\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## Contributing\n\n### Issues\n\nIssues are very valuable to this project.\n\n- Ideas are a valuable source of contributions others can make\n- Problems show where this project is lacking\n- With a question you show where contributors can improve the user experience\n\n### Pull Requests\n\nPull requests are, a great way to get your ideas into this repository.  \nSee [sandbox/README.md](https://github.com/mob-sakai/SimpleBuildInterface/blob/sandbox/README.md).\n\n### Support\n\nThis is an open source project that I am developing in my spare time.  \nIf you like it, please support me.  \nWith your support, I can spend more time on development. :)\n\n[![](https://user-images.githubusercontent.com/12690315/50731629-3b18b480-11ad-11e9-8fad-4b13f27969c1.png)](https://www.patreon.com/join/mob_sakai?)  \n[![](https://user-images.githubusercontent.com/12690315/66942881-03686280-f085-11e9-9586-fc0b6011029f.png)](https://github.com/users/mob-sakai/sponsorship)\n\n\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n## License\n\n* MIT\n\n\n\n## Author\n\n* ![](https://user-images.githubusercontent.com/12690315/96986908-434a0b80-155d-11eb-8275-85138ab90afa.png) [mob-sakai](https://github.com/mob-sakai) [![](https://img.shields.io/twitter/follow/mob_sakai.svg?label=Follow\u0026style=social)](https://twitter.com/intent/follow?screen_name=mob_sakai) ![GitHub followers](https://img.shields.io/github/followers/mob-sakai?style=social)\n\n\n\n## See Also\n\n* GitHub page : https://github.com/mob-sakai/SimpleBuildInterface\n* Releases : https://github.com/mob-sakai/SimpleBuildInterface/releases\n* Issue tracker : https://github.com/mob-sakai/SimpleBuildInterface/issues\n* Change log : https://github.com/mob-sakai/SimpleBuildInterface/blob/master/CHANGELOG.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmob-sakai%2Fsimplebuildinterface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmob-sakai%2Fsimplebuildinterface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmob-sakai%2Fsimplebuildinterface/lists"}