From e7a45108ac4b0a29e39452e0a6283bdf22fe9061 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Mon, 24 Jun 2024 10:25:14 +0800 Subject: [PATCH] Remove unused files from .Net examples (#1051) --- .github/workflows/test-dot-net.yaml | 9 --------- dotnet-examples/Common/Common.csproj | 1 - scripts/dotnet/examples/Common.csproj | 1 + .../examples/offline-decode-files.csproj | 15 --------------- .../examples/offline-punctuation.csproj | 15 --------------- .../dotnet/examples/offline-tts-play.csproj | 19 ------------------- scripts/dotnet/examples/offline-tts.csproj | 15 --------------- .../examples/online-decode-files.csproj | 15 --------------- .../examples/speaker-identification.csproj | 15 --------------- .../speech-recognition-from-microphone.csproj | 19 ------------------- .../spoken-language-identification.csproj | 15 --------------- .../examples/streaming-hlg-decoding.csproj | 15 --------------- .../vad-non-streaming-asr-paraformer.csproj | 15 --------------- 13 files changed, 1 insertion(+), 168 deletions(-) delete mode 100644 scripts/dotnet/examples/offline-decode-files.csproj delete mode 100644 scripts/dotnet/examples/offline-punctuation.csproj delete mode 100644 scripts/dotnet/examples/offline-tts-play.csproj delete mode 100644 scripts/dotnet/examples/offline-tts.csproj delete mode 100644 scripts/dotnet/examples/online-decode-files.csproj delete mode 100644 scripts/dotnet/examples/speaker-identification.csproj delete mode 100644 scripts/dotnet/examples/speech-recognition-from-microphone.csproj delete mode 100644 scripts/dotnet/examples/spoken-language-identification.csproj delete mode 100644 scripts/dotnet/examples/streaming-hlg-decoding.csproj delete mode 100644 scripts/dotnet/examples/vad-non-streaming-asr-paraformer.csproj diff --git a/.github/workflows/test-dot-net.yaml b/.github/workflows/test-dot-net.yaml index 5d413c41b..ffab91f1b 100644 --- a/.github/workflows/test-dot-net.yaml +++ b/.github/workflows/test-dot-net.yaml @@ -135,15 +135,6 @@ jobs: shell: bash run: | cp -v scripts/dotnet/examples/Common.csproj dotnet-examples/Common/ - cp -v scripts/dotnet/examples/offline-tts.csproj dotnet-examples/offline-tts/ - cp -v scripts/dotnet/examples/offline-decode-files.csproj dotnet-examples/offline-decode-files/ - cp -v scripts/dotnet/examples/online-decode-files.csproj dotnet-examples/online-decode-files/ - cp -v scripts/dotnet/examples/speech-recognition-from-microphone.csproj dotnet-examples/speech-recognition-from-microphone/ - cp -v scripts/dotnet/examples/spoken-language-identification.csproj dotnet-examples/spoken-language-identification/ - cp -v scripts/dotnet/examples/streaming-hlg-decoding.csproj dotnet-examples/streaming-hlg-decoding - cp -v scripts/dotnet/examples/speaker-identification.csproj dotnet-examples/speaker-identification - cp -v scripts/dotnet/examples/offline-punctuation.csproj dotnet-examples/offline-punctuation - cp -v scripts/dotnet/examples/vad-non-streaming-asr-paraformer.csproj dotnet-examples/vad-non-streaming-asr-paraformer ls -lh /tmp diff --git a/dotnet-examples/Common/Common.csproj b/dotnet-examples/Common/Common.csproj index 66e156da9..40a816f44 100644 --- a/dotnet-examples/Common/Common.csproj +++ b/dotnet-examples/Common/Common.csproj @@ -3,7 +3,6 @@ net6.0 true - /tmp/packages;$(RestoreSources);https://api.nuget.org/v3/index.json diff --git a/scripts/dotnet/examples/Common.csproj b/scripts/dotnet/examples/Common.csproj index 5bb58cd8a..bbbef478b 100644 --- a/scripts/dotnet/examples/Common.csproj +++ b/scripts/dotnet/examples/Common.csproj @@ -2,6 +2,7 @@ .net6 + /tmp/packages;$(RestoreSources);https://api.nuget.org/v3/index.json diff --git a/scripts/dotnet/examples/offline-decode-files.csproj b/scripts/dotnet/examples/offline-decode-files.csproj deleted file mode 100644 index ffdfb6ace..000000000 --- a/scripts/dotnet/examples/offline-decode-files.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - Exe - net6.0 - offline_decode_files - enable - enable - - - - - - - diff --git a/scripts/dotnet/examples/offline-punctuation.csproj b/scripts/dotnet/examples/offline-punctuation.csproj deleted file mode 100644 index 2d94fcb38..000000000 --- a/scripts/dotnet/examples/offline-punctuation.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - Exe - net6.0 - offline_punctuation - enable - enable - - - - - - - diff --git a/scripts/dotnet/examples/offline-tts-play.csproj b/scripts/dotnet/examples/offline-tts-play.csproj deleted file mode 100644 index d28ae62c8..000000000 --- a/scripts/dotnet/examples/offline-tts-play.csproj +++ /dev/null @@ -1,19 +0,0 @@ - - - - Exe - net6.0 - offline_tts_play - enable - enable - - - - - - - - - - - diff --git a/scripts/dotnet/examples/offline-tts.csproj b/scripts/dotnet/examples/offline-tts.csproj deleted file mode 100644 index 48548fc4c..000000000 --- a/scripts/dotnet/examples/offline-tts.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - Exe - net6.0 - offline_tts - enable - enable - - - - - - - diff --git a/scripts/dotnet/examples/online-decode-files.csproj b/scripts/dotnet/examples/online-decode-files.csproj deleted file mode 100644 index 0ff581102..000000000 --- a/scripts/dotnet/examples/online-decode-files.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - Exe - net6.0 - online_decode_files - enable - enable - - - - - - - diff --git a/scripts/dotnet/examples/speaker-identification.csproj b/scripts/dotnet/examples/speaker-identification.csproj deleted file mode 100644 index 7c857fa54..000000000 --- a/scripts/dotnet/examples/speaker-identification.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - Exe - net6.0 - speaker_identification - enable - enable - - - - - - - diff --git a/scripts/dotnet/examples/speech-recognition-from-microphone.csproj b/scripts/dotnet/examples/speech-recognition-from-microphone.csproj deleted file mode 100644 index 901c8a158..000000000 --- a/scripts/dotnet/examples/speech-recognition-from-microphone.csproj +++ /dev/null @@ -1,19 +0,0 @@ - - - - Exe - net6.0 - speech_recognition_from_microphone - enable - enable - - - - - - - - - - - diff --git a/scripts/dotnet/examples/spoken-language-identification.csproj b/scripts/dotnet/examples/spoken-language-identification.csproj deleted file mode 100644 index b8b431a48..000000000 --- a/scripts/dotnet/examples/spoken-language-identification.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - Exe - net6.0 - spoken_language_identification - enable - enable - - - - - - - diff --git a/scripts/dotnet/examples/streaming-hlg-decoding.csproj b/scripts/dotnet/examples/streaming-hlg-decoding.csproj deleted file mode 100644 index 66e0401f1..000000000 --- a/scripts/dotnet/examples/streaming-hlg-decoding.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - Exe - net6.0 - streaming_hlg_decoding - enable - enable - - - - - - - diff --git a/scripts/dotnet/examples/vad-non-streaming-asr-paraformer.csproj b/scripts/dotnet/examples/vad-non-streaming-asr-paraformer.csproj deleted file mode 100644 index a5c5f1022..000000000 --- a/scripts/dotnet/examples/vad-non-streaming-asr-paraformer.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - Exe - net6.0 - vad_non_streaming_asr_paraformer - enable - enable - - - - - - -