Skip to content

Commit 58d97aa

Browse files
committed
refactor: move scripts
1 parent 7bc9d13 commit 58d97aa

Some content is hidden

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

50 files changed

+1915
-21
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- preview
7-
- master
7+
- main
88
- v*.x
99
tags-ignore:
1010
- "**"
@@ -21,7 +21,3 @@ jobs:
2121
npx semantic-release -e @mob-sakai/semantic-release-upm
2222
env:
2323
GITHUB_TOKEN: ${{ github.token }}
24-
25-
- run: cat package.json
26-
27-
- run: ls

.github/workflows/unity-test.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,6 @@ on:
1414
- synchronize
1515

1616
jobs:
17-
release-test:
18-
runs-on: ubuntu-latest
19-
steps:
20-
- uses: actions/checkout@v2
21-
22-
- run: |
23-
npm i --no-save https://gist.github.com/mob-sakai/c90044338361af97a7e8c8a78425bdb3
24-
npx semantic-release -e @mob-sakai/semantic-release-upm --dry-run --debug --branches develop
25-
env:
26-
GITHUB_TOKEN: ${{ github.token }}
27-
28-
- run: cat package.json
29-
30-
- run: ls
31-
3217
unity-test:
3318
strategy:
3419
fail-fast: false
@@ -134,7 +119,6 @@ jobs:
134119
- name: "Run editmode tests"
135120
if: always() && steps.activation.conclusion == 'success'
136121
run: |
137-
$RUN_UNITY -executeMethod Coffee.CSharpCompilerSettings.Menus.SetDevelopMode || exit 0
138122
$RUN_UNITY -runTests -testPlatform editmode -enableCodeCoverage || exit 0
139123
140124
# Push test results

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Windows
2+
Thumbs.db
3+
Desktop.ini
4+
*.csproj
5+
*.sln
6+
7+
# macOS
8+
.DS_Store
9+
10+
# Vim
11+
*.swp
12+
13+
# Unity
14+
Logs/
15+
Library/
16+
Temp/
17+
18+
# VS
19+
.vs/
20+
.vscode/
21+
obj/
22+
bin/
23+
.idea/

Plugins/CSharpCompilerSettings.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.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
using System.Runtime.CompilerServices;
2+
3+
[assembly: InternalsVisibleTo("CSharpCompilerSettings.Editor")]
4+
[assembly: InternalsVisibleTo("CSharpCompilerSettings.Test")]

Plugins/CSharpCompilerSettings/AssemblyInfo.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "CSharpCompilerSettings_",
3+
"references": [],
4+
"optionalUnityReferences": [],
5+
"includePlatforms": [
6+
"Editor"
7+
],
8+
"excludePlatforms": [],
9+
"allowUnsafeCode": false,
10+
"overrideReferences": false,
11+
"precompiledReferences": [],
12+
"autoReferenced": false,
13+
"defineConstraints": [
14+
"CSC_SETTINGS_DEVELOP"
15+
]
16+
}

Plugins/CSharpCompilerSettings/CSharpCompilerSettings.asmdef.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.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
namespace Coffee.CSharpCompilerSettings
2+
{
3+
internal enum CSharpLanguageVersion
4+
{
5+
CSharp7 = 700,
6+
CSharp7_1 = 701,
7+
CSharp7_2 = 702,
8+
CSharp7_3 = 703,
9+
CSharp8 = 800,
10+
CSharp9 = 900,
11+
Preview = int.MaxValue - 1,
12+
Latest = int.MaxValue,
13+
}
14+
}

Plugins/CSharpCompilerSettings/CSharpLanguageVersion.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
namespace Coffee.CSharpCompilerSettings
2+
{
3+
internal readonly struct CompilerFilter
4+
{
5+
public readonly CompilerRuntime Runtime;
6+
public readonly string RelatedPath;
7+
8+
public CompilerFilter(CompilerRuntime runtime, string relatedPath)
9+
{
10+
Runtime = runtime;
11+
RelatedPath = relatedPath;
12+
}
13+
}
14+
}

Plugins/CSharpCompilerSettings/CompilerFilter.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
namespace Coffee.CSharpCompilerSettings
2+
{
3+
internal readonly struct CompilerInfo
4+
{
5+
public readonly CompilerRuntime Runtime;
6+
public readonly string Path;
7+
8+
public CompilerInfo(CompilerRuntime runtime, string path)
9+
{
10+
Runtime = runtime;
11+
Path = path;
12+
}
13+
}
14+
}

Plugins/CSharpCompilerSettings/CompilerInfo.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace Coffee.CSharpCompilerSettings
2+
{
3+
internal enum CompilerRuntime
4+
{
5+
NetFramework,
6+
NetCore,
7+
}
8+
}

Plugins/CSharpCompilerSettings/CompilerRuntime.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace Coffee.CSharpCompilerSettings
2+
{
3+
internal enum CompilerType
4+
{
5+
BuiltIn,
6+
CustomPackage
7+
}
8+
}

Plugins/CSharpCompilerSettings/CompilerType.cs.meta

Lines changed: 11 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)