Skip to content

Commit 968cc60

Browse files
committed
Fix directory structure
1 parent dea5105 commit 968cc60

File tree

6 files changed

+27
-4
lines changed

6 files changed

+27
-4
lines changed

.github/CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @DeNA/swet

.github/workflows/publish.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,13 @@ jobs:
3939
- name: dotnet build
4040
run: dotnet build ./MustAwaitAnalyzer.sln --configuration Release --no-restore
4141

42-
- name: Setup for UPM package
42+
- name: Push UPM package
4343
run: |
4444
cp ./MustAwaitAnalyzer/bin/Release/netstandard2.0/MustAwaitAnalyzer.dll ./com.dena.must-await-analyzer/Analyzers/
4545
cp ./README.md* ./com.dena.must-await-analyzer/
46+
git commit -a -m "Bump up version"
47+
git tag ${{ needs.check-bump-version.outputs.new-version }}
48+
git push --tags
4649
4750
- name: Create NuPkg
4851
run: dotnet pack ./MustAwaitAnalyzer --include-symbols --configuration Release -o ./nupkg

README-ja.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ MustAwaitAnalyzerは
99

1010
を戻り値に持つメソッドの呼び出しの際にawaitをつけることを強制するアナライザーです。
1111

12-
以下に、このアナライザーの診断項目を記します。
12+
## Unity プロジェクトでの使用方法
13+
14+
Unity 2021.1.2f1 以上が必要です。
15+
`https://github.com/DeNA/MustAwaitAnalyzer.git?path=com.dena.must-await-analyzer` を Package Manager に追加してください。
1316

1417
## DENA008: Must use await
1518

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ MustAwaitAnalyzer is a roslyn analyzer that enforces the use of `await` when cal
99
- [System.Threading.Tasks.Task](https://learn.microsoft.com/dotnet/api/system.threading.tasks.task?view=net-7.0)
1010
- [Cysharp.Threading.Tasks.UniTask](https://github.com/Cysharp/UniTask)
1111

12-
Below are the diagnostic details for this analyzer.
12+
## Install into Unity Project
13+
14+
Requires Unity 2021.1.2f1 or later.
15+
You can add `https://github.com/DeNA/MustAwaitAnalyzer.git?path=com.dena.must-await-analyzer` to Package Manager.
1316

1417
## DENA008: Must use await
1518

com.dena.must-await-analyzer/.gitignore

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "MustAwaitAnalyzer",
3+
"rootNamespace": "",
4+
"references": [],
5+
"includePlatforms": [],
6+
"excludePlatforms": [],
7+
"allowUnsafeCode": false,
8+
"overrideReferences": false,
9+
"precompiledReferences": [],
10+
"autoReferenced": false,
11+
"defineConstraints": [],
12+
"versionDefines": [],
13+
"noEngineReferences": false
14+
}

0 commit comments

Comments
 (0)