Browse Source

chore: add format.sh

tags/0.1.0
TCL 3 years ago
parent
commit
67849e66dc
3 changed files with 27 additions and 6 deletions
  1. +21
    -0
      dependency/shell/format.sh
  2. +3
    -3
      installer/Installer/AssemblyInfo.cs
  3. +3
    -3
      launcher/Launcher/AssemblyInfo.cs

+ 21
- 0
dependency/shell/format.sh View File

@@ -0,0 +1,21 @@
for i in {1..10}
do
find . -iname "*.cs" \
-or -iname "*.c" \
-or -iname "*.h" \
-or -iname "*.C" \
-or -iname "*.H" \
-or -iname "*.cpp" \
-or -iname "*.hpp" \
-or -iname "*.cc" \
-or -iname "*.hh" \
-or -iname "*.c++" \
-or -iname "*.h++" \
-or -iname "*.cxx" \
-or -iname "*.hxx" \
-or -iname "*.i" \
-or -iname "*.ixx" \
-or -iname "*.ipp" \
-or -iname "*.i++" \
| xargs clang-format -i
done

+ 3
- 3
installer/Installer/AssemblyInfo.cs View File

@@ -1,9 +1,9 @@
using System.Windows; using System.Windows;


[assembly:ThemeInfo( [assembly:ThemeInfo(
ResourceDictionaryLocation.None, // where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.None, // where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly // where the generic resource dictionary is located ResourceDictionaryLocation.SourceAssembly // where the generic resource dictionary is located
//(used if a resource is not found in the page, //(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries) // app, or any theme specific resource dictionaries)


+ 3
- 3
launcher/Launcher/AssemblyInfo.cs View File

@@ -1,9 +1,9 @@
using System.Windows; using System.Windows;


[assembly:ThemeInfo( [assembly:ThemeInfo(
ResourceDictionaryLocation.None, // where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.None, // where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly // where the generic resource dictionary is located ResourceDictionaryLocation.SourceAssembly // where the generic resource dictionary is located
//(used if a resource is not found in the page, //(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries) // app, or any theme specific resource dictionaries)


Loading…
Cancel
Save