Skip to content

Commit e07a93e

Browse files
authored
Merge pull request #4 from AutSoft/develop
0.2.0
2 parents f9e79c4 + a63ab6a commit e07a93e

File tree

122 files changed

+11381
-49
lines changed

Some content is hidden

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

122 files changed

+11381
-49
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish To GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
Deploy:
10+
runs-on: windows-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
16+
- name: Install Unity
17+
shell: pwsh
18+
run: choco install unity --params="'/InstallationPath:C:\Program Files\Unity\Hub\Editor\2019.4.0f1'" --version=2019.4.0 --no-progress -y --ignore-package-exit-codes=3010
19+
20+
- name: Build DocFX
21+
shell: pwsh
22+
run: ./build.ps1 BuildDocs --unity-email $env:UNITY_EMAIL --unity-password $env:UNITY_PASSWORD --unity-serial $env:UNITY_SERIAL --is-ci
23+
env:
24+
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
25+
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
26+
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
27+
28+
- name: Deploy to GitHub Pages
29+
uses: crazy-max/ghaction-github-pages@v2
30+
with:
31+
target_branch: gh-pages
32+
build_dir: Documentation/_site
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ jobs:
1717
with:
1818
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1919
root: "UnityResourceGenerator/Assets/AutSoft.UnityResourceGenerator"
20+
21+
- name: Create GitHub Release
22+
shell: pwsh
23+
run: ./build.ps1 CreateGithubRelease --is-ci

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,3 +398,4 @@ FodyWeavers.xsd
398398
# End of https://www.toptal.com/developers/gitignore/api/visualstudio
399399

400400
!.vscode/**/*
401+
.vscode/docfx-assistant

.nuke/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
temp/

.nuke/build.schema.json

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"title": "Build Schema",
4+
"$ref": "#/definitions/build",
5+
"definitions": {
6+
"build": {
7+
"type": "object",
8+
"properties": {
9+
"Configuration": {
10+
"type": "string",
11+
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)",
12+
"enum": [
13+
"Debug",
14+
"Release"
15+
]
16+
},
17+
"Continue": {
18+
"type": "boolean",
19+
"description": "Indicates to continue a previously failed build attempt"
20+
},
21+
"Help": {
22+
"type": "boolean",
23+
"description": "Shows the help text for this build assembly"
24+
},
25+
"Host": {
26+
"type": "string",
27+
"description": "Host for execution. Default is 'automatic'",
28+
"enum": [
29+
"AppVeyor",
30+
"AzurePipelines",
31+
"Bamboo",
32+
"Bitrise",
33+
"GitHubActions",
34+
"GitLab",
35+
"Jenkins",
36+
"Rider",
37+
"SpaceAutomation",
38+
"TeamCity",
39+
"Terminal",
40+
"TravisCI",
41+
"VisualStudio",
42+
"VSCode"
43+
]
44+
},
45+
"IsCi": {
46+
"type": "boolean",
47+
"description": "Are we running in CI"
48+
},
49+
"NoLogo": {
50+
"type": "boolean",
51+
"description": "Disables displaying the NUKE logo"
52+
},
53+
"Partition": {
54+
"type": "string",
55+
"description": "Partition to use on CI"
56+
},
57+
"Plan": {
58+
"type": "boolean",
59+
"description": "Shows the execution plan (HTML)"
60+
},
61+
"Profile": {
62+
"type": "array",
63+
"description": "Defines the profiles to load",
64+
"items": {
65+
"type": "string"
66+
}
67+
},
68+
"Root": {
69+
"type": "string",
70+
"description": "Root directory during build execution"
71+
},
72+
"Skip": {
73+
"type": "array",
74+
"description": "List of targets to be skipped. Empty list skips all dependencies",
75+
"items": {
76+
"type": "string",
77+
"enum": [
78+
"BuildDocs",
79+
"Compile",
80+
"CreateGithubRelease",
81+
"CreateMetadata",
82+
"GenerateUnitySolution",
83+
"Restore",
84+
"ReturnLicense",
85+
"ServeDocs"
86+
]
87+
}
88+
},
89+
"Target": {
90+
"type": "array",
91+
"description": "List of targets to be invoked. Default is '{default_target}'",
92+
"items": {
93+
"type": "string",
94+
"enum": [
95+
"BuildDocs",
96+
"Compile",
97+
"CreateGithubRelease",
98+
"CreateMetadata",
99+
"GenerateUnitySolution",
100+
"Restore",
101+
"ReturnLicense",
102+
"ServeDocs"
103+
]
104+
}
105+
},
106+
"UnityEmail": {
107+
"type": "string",
108+
"description": "Email for Unity license"
109+
},
110+
"UnityPassword": {
111+
"type": "string",
112+
"description": "Password for Unity license"
113+
},
114+
"UnitySerial": {
115+
"type": "string",
116+
"description": "Serial for Unity license"
117+
},
118+
"Verbosity": {
119+
"type": "string",
120+
"description": "Logging verbosity during build execution. Default is 'Normal'",
121+
"enum": [
122+
"Minimal",
123+
"Normal",
124+
"Quiet",
125+
"Verbose"
126+
]
127+
}
128+
}
129+
}
130+
}
131+
}

.nuke/parameters.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "./build.schema.json",
3+
"Solution": "UnityResourceGenerator.sln"
4+
}

.vscode/spellright.dict

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
unrecoverably
2+
parameterless

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
1-
## 0.1.0
2-
- Add initial project
1+
# 0.2.0
2+
- Add documentation website
3+
- Reference documentation in `package.json`
4+
- Make using namespaces optional
5+
- Configure using directives
6+
- Remove `IsResource` property from `IResourceData`. Scene path generation now depends on file extension
7+
- Handle spaces in filenames
8+
- Add known issues and update guide in the documentation
9+
10+
# 0.1.0
11+
- Add initial project

Documentation/.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
###############
2+
# folder #
3+
###############
4+
/**/DROP/
5+
/**/TEMP/
6+
/**/packages/
7+
/**/bin/
8+
/**/obj/
9+
_site

Documentation/api/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
###############
2+
# temp file #
3+
###############
4+
*.yml
5+
.manifest

0 commit comments

Comments
 (0)