Skip to content

Commit 6a4d791

Browse files
committed
udon toolkit repackaged
0 parents  commit 6a4d791

File tree

539 files changed

+79956
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

539 files changed

+79956
-0
lines changed

.github/workflows/build-listing.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: Build Repo Listing
2+
3+
on:
4+
workflow_dispatch:
5+
6+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
# Allow one concurrent deployment
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: true
16+
17+
env:
18+
listPublishDirectory: Website
19+
pathToCi: ci
20+
21+
jobs:
22+
23+
build-listing:
24+
name: build-listing
25+
environment:
26+
name: github-pages
27+
url: ${{ steps.deployment.outputs.page_url }}
28+
runs-on: ubuntu-latest
29+
steps:
30+
31+
- uses: actions/checkout@v3 # check out this repo
32+
- uses: actions/checkout@v3 # check out automation repo
33+
with:
34+
repository: vrchat-community/package-list-action
35+
path: ${{env.pathToCi}}
36+
clean: false # otherwise the local repo will no longer be checked out
37+
38+
- name: Restore Cache
39+
uses: actions/cache@v2
40+
with:
41+
path: |
42+
${{env.pathToCi}}/.nuke/temp
43+
~/.nuget/packages
44+
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }}
45+
46+
- name: Build Package Version Listing
47+
run: ${{env.pathToCi}}/build.cmd BuildRepoListing --root ${{env.pathToCi}} --list-publish-directory $GITHUB_WORKSPACE/${{env.listPublishDirectory}}
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
51+
- name: Setup Pages
52+
uses: actions/configure-pages@v2
53+
54+
- name: Upload artifact
55+
uses: actions/upload-pages-artifact@v1
56+
with:
57+
path: ${{env.listPublishDirectory}}
58+
59+
- name: Deploy to GitHub Pages
60+
id: deployment
61+
uses: actions/deploy-pages@v1

.github/workflows/pack-package.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Pack Package
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
package-name:
7+
description: 'Name of the package to pack'
8+
required: true
9+
type: string
10+
11+
jobs:
12+
pack-job:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v3
17+
18+
- name: get version
19+
id: version
20+
uses: notiz-dev/[email protected]
21+
with:
22+
path: "Packages/${{inputs.package-name}}/package.json"
23+
prop_path: "version"
24+
25+
- run: echo ${{steps.version.outputs.prop}}
26+
27+
- name: Set Environment Variables
28+
run: |
29+
echo "zipFile=${{ inputs.package-name }}-${{ steps.version.outputs.prop }}".zip >> $GITHUB_ENV
30+
31+
- name: Create Zip
32+
uses: thedoctor0/[email protected]
33+
with:
34+
type: "zip"
35+
directory: "Packages/${{inputs.package-name}}/"
36+
filename: "../../${{env.zipFile}}" # make the zip file two directories up, since we start two directories in above
37+
38+
- name: Add Summary
39+
run: |
40+
echo "# Package ${{inputs.package-name}}" >> $GITHUB_STEP_SUMMARY
41+
echo "" >> $GITHUB_STEP_SUMMARY
42+
echo "saved as"
43+
echo "" >> $GITHUB_STEP_SUMMARY
44+
echo "- ${{ env.zipFile }}" >> $GITHUB_STEP_SUMMARY
45+
46+
- name: Make Release
47+
uses: softprops/action-gh-release@v1
48+
if: startsWith(github.ref, 'refs/heads/main')
49+
with:
50+
tag_name: "${{inputs.package-name}}@v${{ steps.version.outputs.prop }}"
51+
generate_release_notes: true
52+
draft: true
53+
files: |
54+
${{ env.zipFile }}
55+
56+
- name: Make Pre-Release
57+
uses: softprops/action-gh-release@v1
58+
if: startsWith(github.ref, 'refs/heads/dev')
59+
with:
60+
tag_name: "${{inputs.package-name}}@v${{ steps.version.outputs.prop }}"
61+
prerelease: true
62+
draft: true
63+
generate_release_notes: true
64+
files: |
65+
${{ env.zipFile }}
66+

.github/workflows/release.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Build Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
package-name:
7+
description: 'Name of the package to release'
8+
required: true
9+
type: choice
10+
options:
11+
- sh.orels.udontoolkit
12+
- sh.orels.udontoolkit.inspector
13+
- sh.orels.udontoolkit.systems.flight
14+
- sh.orels.udontoolkit.systems.presentation
15+
16+
jobs:
17+
pack-version:
18+
uses: ./.github/workflows/pack-package.yml
19+
with:
20+
package-name: ${{inputs.package-name}}
21+
22+
build:
23+
needs: pack-version
24+
runs-on: ubuntu-latest
25+
if: ${{ always() }}
26+
steps:
27+
28+
- name: Checkout
29+
uses: actions/checkout@v3
30+
31+
- name: get version
32+
id: version
33+
uses: notiz-dev/[email protected]
34+
with:
35+
path: "Packages/${{inputs.package-name}}/package.json"
36+
prop_path: "version"
37+
38+
- name: Make Release
39+
uses: softprops/action-gh-release@v1
40+
if: startsWith(github.ref, 'refs/heads/main')
41+
with:
42+
tag_name: "${{inputs.package-name}}@v${{ steps.version.outputs.prop }}"
43+
generate_release_notes: true
44+
draft: true
45+
46+
- name: Make Pre-Release
47+
uses: softprops/action-gh-release@v1
48+
if: startsWith(github.ref, 'refs/heads/dev')
49+
with:
50+
tag_name: "${{inputs.package-name}}@v${{ steps.version.outputs.prop }}"
51+
draft: true
52+
prerelease: true
53+
generate_release_notes: true

.gitignore

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# This .gitignore file should be placed at the root of your Unity project directory
2+
#
3+
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
4+
#
5+
/[Ll]ibrary/
6+
/[Tt]emp/
7+
/[Oo]bj/
8+
/[Bb]uild/
9+
/[Bb]uilds/
10+
/[Ll]ogs/
11+
/[Mm]emoryCaptures/
12+
13+
# Asset meta data should only be ignored when the corresponding asset is also ignored
14+
!/[Aa]ssets/**/*.meta
15+
16+
# Uncomment this line if you wish to ignore the asset store tools plugin
17+
# /[Aa]ssets/AssetStoreTools*
18+
19+
# Autogenerated Jetbrains Rider plugin
20+
[Aa]ssets/Plugins/Editor/JetBrains*
21+
22+
# Visual Studio cache directory
23+
.vs/
24+
25+
# Gradle cache directory
26+
.gradle/
27+
28+
# Autogenerated VS/MD/Consulo solution and project files
29+
ExportedObj/
30+
.consulo/
31+
*.csproj
32+
*.unityproj
33+
*.sln
34+
*.suo
35+
*.tmp
36+
*.user
37+
*.userprefs
38+
*.pidb
39+
*.booproj
40+
*.svd
41+
*.pdb
42+
*.mdb
43+
*.opendb
44+
*.VC.db
45+
46+
# Unity3D generated meta files
47+
*.pidb.meta
48+
*.pdb.meta
49+
*.mdb.meta
50+
51+
# Unity3D generated file on crash reports
52+
sysinfo.txt
53+
54+
# Builds
55+
*.apk
56+
*.unitypackage
57+
58+
# Crashlytics generated file
59+
crashlytics-build.properties
60+
61+
.idea/.idea.vpm-package-maker/.idea
62+
Assets/PackageMakerWindowData.asset*
63+
.idea
64+
.vscode
65+
66+
Assets/Development
67+
Assets/Development.meta
68+
69+
Assets/TextMesh Pro
70+
Assets/TextMesh Pro.meta
71+
72+
Assets/SerializedUdonPrograms
73+
Assets/SerializedUdonPrograms.meta
74+
75+
Assets/UdonSharp
76+
Assets/UdonSharp.meta
77+
78+
AudioAssets

Assets/.gitkeep

Whitespace-only changes.

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 orels1
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

LICENSE.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Packages/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*/
2+
!com.vrchat.core.*
3+
4+
# Change this to match your new package name
5+
!sh.orels.udontoolkit*

Packages/com.vrchat.core.vpm-resolver/Editor.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Packages/com.vrchat.core.vpm-resolver/Editor/Dependencies.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)