Skip to content

Commit 4cc09c2

Browse files
Rename C# source root to src (#284)
Co-authored-by: Owen McGirr <o.a.mcgirr@gmail.com>
1 parent 898cebd commit 4cc09c2

101 files changed

Lines changed: 9 additions & 9 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ build/*
1010
out/
1111
native/**/bin/
1212
native/**/obj/
13-
src-dotnet/**/bin/
14-
src-dotnet/**/obj/
13+
src/**/bin/
14+
src/**/obj/
1515
.certs/*
1616
!.certs/.gitkeep
1717
.env

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"version": "0.2.0",
44
"description": "Desktop companion app for Switchify Android.",
55
"scripts": {
6-
"dotnet:restore": "dotnet restore src-dotnet/SwitchifyPc.sln",
7-
"dotnet:build": "dotnet build src-dotnet/SwitchifyPc.sln -c Release --no-restore",
8-
"dotnet:test": "dotnet test src-dotnet/SwitchifyPc.sln -c Release --no-build",
9-
"dotnet:publish": "dotnet publish src-dotnet/SwitchifyPc.App/SwitchifyPc.App.csproj -c Release -r win-x64 --self-contained true",
6+
"dotnet:restore": "dotnet restore src/SwitchifyPc.sln",
7+
"dotnet:build": "dotnet build src/SwitchifyPc.sln -c Release --no-restore",
8+
"dotnet:test": "dotnet test src/SwitchifyPc.sln -c Release --no-build",
9+
"dotnet:publish": "dotnet publish src/SwitchifyPc.App/SwitchifyPc.App.csproj -c Release -r win-x64 --self-contained true",
1010
"dotnet:package:win": "node scripts/package-dotnet-win.cjs",
1111
"dotnet:package:win:stage": "node scripts/package-dotnet-win.cjs --stage-only --skip-sign",
1212
"dotnet:package:win:verify": "node scripts/verify-dotnet-package.cjs",

scripts/package-dotnet-win.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ const {
1212

1313
const stageOnly = process.argv.includes('--stage-only');
1414
const skipSign = process.argv.includes('--skip-sign');
15-
const appProjectPath = resolveProjectPath('src-dotnet', 'SwitchifyPc.App', 'SwitchifyPc.App.csproj');
15+
const appProjectPath = resolveProjectPath('src', 'SwitchifyPc.App', 'SwitchifyPc.App.csproj');
1616
const version = readDotnetAppVersion(appProjectPath);
1717
const publishDir = resolveProjectPath(
18-
'src-dotnet',
18+
'src',
1919
'SwitchifyPc.App',
2020
'bin',
2121
'Release',

scripts/verify-dotnet-package.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const stageDir = path.join(distDir, 'win-unpacked');
77
const appExe = path.join(stageDir, 'Switchify PC.exe');
88
const builderDebug = path.join(distDir, 'builder-debug.yml');
99
const latestYml = path.join(distDir, 'latest.yml');
10-
const appProjectPath = resolveProjectPath('src-dotnet', 'SwitchifyPc.App', 'SwitchifyPc.App.csproj');
10+
const appProjectPath = resolveProjectPath('src', 'SwitchifyPc.App', 'SwitchifyPc.App.csproj');
1111
const appVersion = readDotnetAppVersion(appProjectPath);
1212
const expectedInstaller = path.join(distDir, `Switchify-PC-Setup-${appVersion}-x64.exe`);
1313
const installerScript = resolveProjectPath('installer', 'SwitchifyPc.DotNet.nsi');
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)