All Projects → mob-sakai → SimpleBuildInterface

mob-sakai / SimpleBuildInterface

Licence: MIT License
A simple build interface for Unity CLI. Support all platforms without executeMethod option.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to SimpleBuildInterface

jagen
A software engineer's workspace manager and build systems wrapper
Stars: ✭ 32 (+39.13%)
Mutual labels:  build
build-size-watcher
Keep your bundle size in check and detect when it gets too big.
Stars: ✭ 16 (-30.43%)
Mutual labels:  build
UniBot
An universal HTTP bot creator
Stars: ✭ 21 (-8.7%)
Mutual labels:  build
build-plugin
Track your build performances like never before.
Stars: ✭ 45 (+95.65%)
Mutual labels:  build
cresset
Template repository to build PyTorch projects from source on any version of PyTorch/CUDA/cuDNN.
Stars: ✭ 573 (+2391.3%)
Mutual labels:  build
bali
Bali - Minimalist Golang build and packaging tool
Stars: ✭ 59 (+156.52%)
Mutual labels:  build
bzl
Bzl - Integrated CLI + UI + VSCode Extension for Bazel
Stars: ✭ 43 (+86.96%)
Mutual labels:  build
mean-stack-angular-8-blog-cms
MEAN Stack (Angular 8) Tutorial: Build a Simple Blog CMS Example
Stars: ✭ 19 (-17.39%)
Mutual labels:  build
Cake.Coverlet
Coverlet extensions for Cake Build
Stars: ✭ 39 (+69.57%)
Mutual labels:  build
ISPC-PHPCompiler
Compile and manage multiple PHP versions easily!
Stars: ✭ 35 (+52.17%)
Mutual labels:  build
asap
A cmake starter project for C++ with basic infrastructure including platform detection, compiler detection, assertions..., and a complete build lifecycle. Portable across Linux, OS X and Windows.
Stars: ✭ 39 (+69.57%)
Mutual labels:  build
RocketXPlugin
🔥🔥 android 端编译加速插件🚀 自动识别未改动 module 并在编译流程中替换为 aar ,只编译改动模块,加速 Android apk 的编译速度。
Stars: ✭ 408 (+1673.91%)
Mutual labels:  build
build-status
Emacs minor mode that monitors and shows a buffer's build status in the mode line.
Stars: ✭ 26 (+13.04%)
Mutual labels:  build
SubmiBot
Plugin do Eclipse para automatização do processo de submissão de tarefas na disciplina de LP2 - Computação@UFCG
Stars: ✭ 16 (-30.43%)
Mutual labels:  build
openwrt-k2t-build
github actions build openwrt firmware
Stars: ✭ 14 (-39.13%)
Mutual labels:  build
calendar-view-plugin
Jenkins Calendar View Plugin: Shows past and future builds in a calendar view
Stars: ✭ 17 (-26.09%)
Mutual labels:  build
CppBuildTasks
Build C++ software with vcpkg and CMake (with CMakeLists.txt or CMakeSettings.json). Samples provided use both self-hosted or Microsoft hosted agent, using Docker and Pipeline Caching as well. The same tasks are available as GitHub actions at https://github.com/lukka/run-cmake https://github.com/lukka/run-vcpkg -=-
Stars: ✭ 26 (+13.04%)
Mutual labels:  build
gradle-upgrade-interactive
CLI to interactively upgrade gradle dependencies, inspired by yarn.
Stars: ✭ 44 (+91.3%)
Mutual labels:  build
heroku-nextjs-build
Heroku build adapter for Next.js (an npm module)
Stars: ✭ 12 (-47.83%)
Mutual labels:  build
metalsmith-babel
A Metalsmith plugin to compile JavaScript with Babel
Stars: ✭ 19 (-17.39%)
Mutual labels:  build

Simple Build Interface for Unity CLI

PRs Welcome

GitHub Workflow Status Test CodeCoverage

<< Description | Installation | Usage | Development Note | Change log >>





Description

Unity supports to build for standalone platforms (Windows/macOS/Linux) from the command line.

# Lunch Unity to ...
/Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -projectPath .

# build for specific standalone platform.
... -buildLinux64Player <pathname>
... -buildOSXUniversalPlayer <pathname>
... -buildWindowsPlayer <pathname>
... -buildWindows64Player <pathname>

This plugin provides a simple build interface to build all platforms without executeMethod option.

# Lunch Unity to ...
/Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -projectPath .

# build for specific platform.
... -build -buildTarget WebGL

This command is equivalent to run Build Settings > Build on WebGL platform.

See Usage for details.





Installation

Requirement

Using OpenUPM

This package is available on OpenUPM.
You can install it via openupm-cli.

openupm add com.coffee.simple-build-interface

Using Git

Find Packages/manifest.json in your project and add a line to dependencies field.

"com.coffee.simple-build-interface": "https://github.com/mob-sakai/SimpleBuildInterface.git"

To update the package, change suffix #{version} to the target version.

  • e.g. "com.coffee.simple-build-interface": "https://github.com/mob-sakai/SimpleBuildInterface.git#1.0.0",

Or, use UpmGitExtension to install and update the package.





Usage

# Lunch Unity to ...
/Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -projectPath .

# build for current platform.
... -build

# build for specific platform.
... -build -buildTarget WebGL

# build with full-option.
... -build -buildTarget WebGL \
  -out "production_build" \
  -buildOptions "Development;!ConnectWithProfiler" \
  -scenes "Level1;!EditorLevel1" \
  -assetBundleManifestPath "AssetBundles/manifest" \
  -extraScriptingDefines "EXTRA_SYMBOL;EXTRA_SYMBOL2"
Option Description
-build (Required)
Build the project for current. platform
-out <path> Output path
Default: {BuildTarget}_Build.
-buildOptions <options,...> Add/remove BuildOptions to build. 1 2
-scenes <names,...> Add/remove scene names to build. 1 2
-assetBundleManifestPath <path> Path to AssetBundleManifest.
-extraScriptingDefines <symbols,...> Extra scripting defines for building player. 1

1: Multiple values must be separated by a semi-colon (;) or a comma (,).
2: Prefix 'not' (!) to exclude the specified value.





Development Note

Execution order

  1. InitializeOnLoad
  2. InitializeOnLoadMethod
  3. DidReloadScripts
  4. The method specified by the -executeMethod option
  5. Build by this plugin

You can customize the build parameters using any method you like. :)





Contributing

Issues

Issues are very valuable to this project.

  • Ideas are a valuable source of contributions others can make
  • Problems show where this project is lacking
  • With a question you show where contributors can improve the user experience

Pull Requests

Pull requests are, a great way to get your ideas into this repository.
See sandbox/README.md.

Support

This is an open source project that I am developing in my spare time.
If you like it, please support me.
With your support, I can spend more time on development. :)






License

  • MIT

Author

See Also

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].