-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1e02917
Showing
164 changed files
with
17,561 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
root = true | ||
|
||
[*] | ||
max_line_length = 100 | ||
indent_style = space | ||
indent_size = 4 | ||
charset = utf-8 | ||
|
||
[*.cs] | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
end_of_line = crlf | ||
|
||
[*.{md,json,yml}] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Unity | ||
*.cs diff=csharp text | ||
*.cginc text | ||
*.shader text | ||
*.mat merge=unityyamlmerge eol=lf | ||
*.anim merge=unityyamlmerge eol=lf | ||
*.unity merge=unityyamlmerge eol=lf | ||
*.prefab merge=unityyamlmerge eol=lf | ||
*.physicsMaterial2D merge=unityyamlmerge eol=lf | ||
*.physicMaterial merge=unityyamlmerge eol=lf | ||
*.asset merge=unityyamlmerge eol=lf | ||
*.meta merge=unityyamlmerge eol=lf | ||
*.controller merge=unityyamlmerge eol=lf | ||
|
||
# Line endings | ||
packages-lock.json text eol=lf | ||
|
||
# Image | ||
*.jpg filter=lfs diff=lfs merge=lfs -text | ||
*.jpeg filter=lfs diff=lfs merge=lfs -text | ||
*.png filter=lfs diff=lfs merge=lfs -text | ||
*.gif filter=lfs diff=lfs merge=lfs -text | ||
*.psd filter=lfs diff=lfs merge=lfs -text | ||
*.ai filter=lfs diff=lfs merge=lfs -text | ||
|
||
# Audio | ||
*.mp3 filter=lfs diff=lfs merge=lfs -text | ||
*.wav filter=lfs diff=lfs merge=lfs -text | ||
*.ogg filter=lfs diff=lfs merge=lfs -text | ||
*.aiff filter=lfs diff=lfs merge=lfs -text | ||
|
||
# FMOD | ||
*.bank filter=lfs diff=lfs merge=lfs -text | ||
|
||
# Video | ||
*.mp4 filter=lfs diff=lfs merge=lfs -text | ||
*.mov filter=lfs diff=lfs merge=lfs -text | ||
|
||
# 3D Objects | ||
*.FBX filter=lfs diff=lfs merge=lfs -text | ||
*.fbx filter=lfs diff=lfs merge=lfs -text | ||
*.blend filter=lfs diff=lfs merge=lfs -text | ||
*.obj filter=lfs diff=lfs merge=lfs -text | ||
|
||
# Other | ||
*.a filter=lfs diff=lfs merge=lfs -text | ||
*.exr filter=lfs diff=lfs merge=lfs -text | ||
*.tga filter=lfs diff=lfs merge=lfs -text | ||
*.pdf filter=lfs diff=lfs merge=lfs -text | ||
*.zip filter=lfs diff=lfs merge=lfs -text | ||
*.dll filter=lfs diff=lfs merge=lfs -text | ||
*.unitypackage filter=lfs diff=lfs merge=lfs -text | ||
*.aif filter=lfs diff=lfs merge=lfs -text | ||
*.ttf filter=lfs diff=lfs merge=lfs -text | ||
*.rns filter=lfs diff=lfs merge=lfs -text | ||
*.reason filter=lfs diff=lfs merge=lfs -text | ||
*.lxo filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Contributing | ||
|
||
If you found a bug or want to add a feature, you are more than welcome to make a Pull Request! | ||
|
||
When doing so, make sure to: | ||
|
||
- Follow similar code style which is used in other scripts. | ||
- Add test cases to the appropriate [Test Assemblies](../Packages/com.chark.built-tools/Tests). | ||
- Use [Samples](../Packages/com.chark.build-tools/Samples) directory to prototype and test features. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Scriptable Scenes | ||
|
||
[![Unity 2022.3+](https://img.shields.io/badge/unity-2022.3%2B-blue.svg)](https://unity3d.com/get-unity/download) | ||
[![Actions Status](https://github.com/chark/build-tools/workflows/CI/badge.svg)](https://github.com/chark/build-tools/actions) | ||
|
||
Editor utilities for quickly automating builds. | ||
|
||
<p align="center"> | ||
<img src="screenshot.png"/> | ||
</p> | ||
|
||
:warning: **Warning, this is a preview package, expect breaking changes between releases!** | ||
|
||
## Features | ||
|
||
- Quickly create build configurations via Scriptable Objects | ||
- Run multiple builds in sequence | ||
- Archive support | ||
|
||
## Installation | ||
|
||
This package can be installed via the Package Manager by [Installing from a Git URL](https://docs.unity3d.com/Manual/upm-ui-giturl.html): | ||
|
||
```text | ||
https://github.com/chark/build-tools.git#upm | ||
``` | ||
|
||
Alternatively, manually install by adding the following entry to `Packages/manifest.json`: | ||
```json | ||
{ | ||
"com.chark.scriptable-scenes": "https://github.com/chark/build-tools.git#upm" | ||
} | ||
``` | ||
|
||
If you'd like to install a specific release, replace `upm` suffix with version number, e.g., `v0.0.1`. You can find all releases [here](https://github.com/chark/build-tools/releases). | ||
|
||
## Links | ||
|
||
- [Documentation](../Packages/com.chark.build-tools/Documentation~/README.md) | ||
- [Contributing](CONTRIBUTING.md) | ||
- [Changelog](../Packages/com.chark.build-tools/CHANGELOG.md) | ||
- [License](../Packages/com.chark.build-tools/LICENSE.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Acquire activation file | ||
|
||
on: | ||
workflow_dispatch: { } | ||
|
||
jobs: | ||
activation: | ||
name: Request manual activation file 🔑 | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
# Request manual activation file | ||
- name: Request manual activation file | ||
id: getManualLicenseFile | ||
uses: game-ci/unity-request-activation-file@v2 | ||
|
||
# Upload artifact (Unity_v20XX.X.XXXX.alf) | ||
- name: Expose as artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ steps.getManualLicenseFile.outputs.filePath }} | ||
path: ${{ steps.getManualLicenseFile.outputs.filePath }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# See: https://game.ci/docs/github/getting-started | ||
name: CI | ||
|
||
on: | ||
workflow_dispatch: { } | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
name: Unity Tests Workflow | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
|
||
strategy: | ||
matrix: | ||
unityVersion: | ||
- 2022.3.10f1 | ||
|
||
steps: | ||
|
||
# Checkout (without LFS) | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
# Git LFS | ||
- name: Create LFS file list | ||
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id | ||
|
||
- name: Restore LFS cache | ||
uses: actions/cache@v2 | ||
id: lfs-cache | ||
with: | ||
path: .git/lfs | ||
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }} | ||
|
||
- name: Git LFS Pull | ||
run: | | ||
git lfs pull | ||
git add . | ||
git reset --hard | ||
# Cache | ||
- uses: actions/cache@v2 | ||
with: | ||
path: Library | ||
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }} | ||
restore-keys: | | ||
Library- | ||
# Test | ||
- name: Run Tests | ||
uses: game-ci/[email protected] | ||
id: tests | ||
env: | ||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | ||
with: | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# Test Results | ||
- name: Upload Test Results | ||
uses: actions/upload-artifact@v2 | ||
if: always() | ||
with: | ||
name: Test Results | ||
path: ${{ steps.tests.outputs.artifactsPath }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: UPM | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
branch: | ||
description: 'Branch' | ||
required: true | ||
default: 'upm' | ||
|
||
jobs: | ||
deploy-upm: | ||
name: Deploy to UPM branch | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
PACKAGE_DIR: Packages/com.chark.scriptable-scenes | ||
SAMPLE_SRC_DIR: Samples | ||
SAMPLE_DST_DIR: Samples~ | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Create '${{ github.event.inputs.branch }}' branch from '${{ env.PACKAGE_DIR }}' directory | ||
run: | | ||
git branch -d '${{ github.event.inputs.branch }}' &> /dev/null || echo '${{ github.event.inputs.branch }} branch not found' | ||
git subtree split -P '${{ env.PACKAGE_DIR }}' -b '${{ github.event.inputs.branch }}' | ||
git checkout '${{ github.event.inputs.branch }}' | ||
- name: Move '${{ env.SAMPLE_SRC_DIR }}' directory to '${{ env.SAMPLE_DST_DIR }}' | ||
run: | | ||
rm -f '${{ env.SAMPLE_SRC_DIR }}.meta' | ||
git mv '${{ env.SAMPLE_SRC_DIR }}' '${{ env.SAMPLE_DST_DIR }}' | ||
git config --global user.name 'github-bot' | ||
git config --global user.email '[email protected]' | ||
git add '${{ env.SAMPLE_SRC_DIR }}.meta' | ||
git add '${{ env.SAMPLE_DST_DIR }}' | ||
git commit -m "Move '${{ env.SAMPLE_SRC_DIR }}' directory to '${{ env.SAMPLE_DST_DIR }}'" | ||
- name: Push '${{ github.event.inputs.branch }}' branch | ||
run: | | ||
git push -f -u origin '${{ github.event.inputs.branch }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
[Ll]ibrary/ | ||
[Tt]emp/ | ||
[Oo]bj/ | ||
[Bb]uild/ | ||
[Bb]uilds/ | ||
[Ll]ogs/ | ||
|
||
# Never ignore Asset meta data | ||
![Aa]ssets/**/*.meta | ||
|
||
# Visual Studio cache directory | ||
.vs/ | ||
|
||
# Gradle cache directory | ||
.gradle/ | ||
|
||
# Autogenerated VS/MD/Consulo solution and project files. | ||
ExportedObj/ | ||
.consulo/ | ||
*.csproj | ||
*.unityproj | ||
*.sln | ||
*.suo | ||
*.tmp | ||
*.user | ||
*.userprefs | ||
*.pidb | ||
*.booproj | ||
*.svd | ||
*.pdb | ||
*.mdb | ||
*.opendb | ||
*.VC.db | ||
|
||
# Unity3D generated meta files | ||
*.pidb.meta | ||
*.pdb.meta | ||
*.mdb.meta | ||
|
||
# Unity3D generated file on crash reports | ||
sysinfo.txt | ||
|
||
# Builds | ||
*.apk | ||
*.unitypackage | ||
|
||
# Crashlytics generated file | ||
crashlytics-build.properties | ||
|
||
# Unity user settings | ||
UserSettings/ | ||
|
||
# Rider | ||
.idea/ | ||
|
||
# Tests | ||
InitTestScene*.unity | ||
InitTestScene*.unity.meta | ||
|
||
# Odin Inspector (used for testing) | ||
Assets/Plugins/Sirenix | ||
Assets/Plugins/Sirenix.meta |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file added
BIN
+131 Bytes
Assets/Plugins/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf
Binary file not shown.
7 changes: 7 additions & 0 deletions
7
Assets/Plugins/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.