浏览代码

Add vscode lines to generate C# .slns

/main/sonarqube
GitHub 3 年前
当前提交
adb2bf8e
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
      .yamato/sonar.yml

4
.yamato/sonar.yml


- curl https://github.com/SonarSource/sonar-scanner-msbuild/releases/download/5.2.1.31210/sonar-scanner-msbuild-5.2.1.31210-net46.zip -o sonar-scanner-msbuild-net46.zip -L
- unzip sonar-scanner-msbuild-net46.zip -d ~/sonar-scanner-msbuild
- chmod a+x ~/sonar-scanner-msbuild/sonar-scanner-4.6.1.2450/bin/sonar-scanner
- brew install --cask visual-studio-code
- defaults write ~/Library/Preferences/com.unity3d.UnityEditor5.x.plist kScriptsDefaultApp "/Application/Visual Studio Code.app"
- defaults write ~/Library/Preferences/com.unity3d.UnityEditor5.x.plist unity_generate_all_csproj -int 1
- defaults write ~/Library/Preferences/com.unity3d.UnityEditor5.x.plist unity_project_generation_flag -int 3
- .Editor/Unity.app/Contents/MacOS/Unity -batchmode -projectPath $PROJECT_DIR -quit -nographics -logFile - -executeMethod "UnityEditor.SyncVS.SyncSolution"
- command: |
cd $PROJECT_DIR

正在加载...
取消
保存