Adjust Solution Name

This commit is contained in:
h z
2024-07-10 15:55:31 +01:00
parent 53bfb63c2f
commit 6a3c951d03
10 changed files with 15 additions and 13 deletions

View File

@@ -10,11 +10,11 @@ for x in d['data']:
if x['id'] == 'Skeleton':
skVersion = x['version']
w = open('VirtualChemistryTest.csproj', 'r').read()
w = open('VirtualChemistry.Test.csproj', 'r').read()
s = w.split('<ItemGroup>')
s[1] = '\n<PackageReference Include="VirtualChemistry" Version="'+vcVersion+'"/>\n' + s[1]
s[1] = '\n<PackageReference Include="Skeleton" Version="'+skVersion+'"/>\n' + s[1]
w = '<ItemGroup>'.join(s)
print(w)
with open('VirtualChemistryTest.csproj', 'w') as f:
with open('VirtualChemistry.Test.csproj', 'w') as f:
f.write(w)