File tree Expand file tree Collapse file tree 7 files changed +12
-12
lines changed Expand file tree Collapse file tree 7 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ These are the tasks typically needed to create an official NHibernate release.
4
4
that is about to happen (as these will show in the milestone).
5
5
6
6
* Create a draft release in Github with GitReleaseManager. If you have used
7
- the NHibernate build menu, it should be available in %userprofile%\.nuget\packages \gitreleasemanager\x.x.x\
7
+ the NHibernate build menu, it should be available in Tools \gitreleasemanager\x.x.x\
8
8
(change x.x.x by its current version in tools).
9
9
By example:
10
10
11
- %userprofile%\.nuget\packages \gitreleasemanager\0.7.0\tools\GitReleaseManager.exe create -o nhibernate -r nhibernate-core -m 5.1 -u username -p password
11
+ Tools \gitreleasemanager\0.7.0\tools\GitReleaseManager.exe create -o nhibernate -r nhibernate-core -m 5.1 -u username -p password
12
12
13
13
(Adjust the -m milestone parameter above, and add "-c branchname" if
14
14
releasing another branch than master)
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ set BUILD_TOOL_PATH=%~dp0Tools\BuildTool\bin\BuildTool.dll
10
10
set BUILDTOOL = dotnet %BUILD_TOOL_PATH%
11
11
set AVAILABLE_CONFIGURATIONS = %~dp0 available-test-configurations
12
12
set CURRENT_CONFIGURATION = %~dp0 current-test-configuration
13
- set NUNIT = " %userprofile% \.nuget\packages \NUnit.ConsoleRunner\%NUNIT_VERSION% \tools\nunit3-console.exe"
13
+ set NUNIT = " %~dp0 Tools \NUnit.ConsoleRunner\%NUNIT_VERSION% \tools\nunit3-console.exe"
14
14
15
15
if not exist %BUILD_TOOL_PATH% (
16
16
dotnet build %~dp0 Tools\BuildTool\BuildTool.sln -c Release -o bin
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ generateAsync(){
178
178
179
179
getAsyncGeneratorPath
180
180
cd src
181
- dotnet " $async_generator_path "
181
+ dotnet ../ " $async_generator_path "
182
182
cd ..
183
183
184
184
mainMenu
@@ -193,7 +193,7 @@ getAsyncGeneratorPath(){
193
193
cd Tools
194
194
195
195
async_generator_version=" $( cat packages.csproj | grep Include=\" CSharpAsyncGenerator.CommandLine | cut -d\" -f4) "
196
- async_generator_path=" $HOME /.nuget/packages /csharpasyncgenerator.commandline/$async_generator_version /tools"
196
+ async_generator_path=" Tools /csharpasyncgenerator.commandline/$async_generator_version /tools"
197
197
198
198
if [ ! -d $async_generator_path ]
199
199
then
Original file line number Diff line number Diff line change 1
1
nuget.exe
2
2
NUnit. *
3
- vswhere. *
4
- CSharpAsyncGenerator.CommandLine. *
5
- gitreleasemanager. *
3
+ vswhere /
4
+ csharpasyncgenerator.commandline /
5
+ gitreleasemanager /
6
6
SQLitePCLRaw.core. *
7
7
obj /
Original file line number Diff line number Diff line change 1
1
@ echo off
2
2
3
- for /f " usebackq tokens=*" %%i in (`%userprofile% \.nuget\pacakges\vswhere2 \2.1.4\tools\vswhere -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
3
+ for /f " usebackq tokens=*" %%i in (`%~dp0 \vswhere \2.1.4\tools\vswhere -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
4
4
set InstallDir = %%i
5
5
)
6
6
Original file line number Diff line number Diff line change 41
41
42
42
<target name =" common.tools-restore" depends =" common.init" >
43
43
<exec workingdir =" ${root.dir}/Tools" program =" dotnet" verbose =" true" >
44
- <arg line =" restore ./packages.csproj" />
44
+ <arg line =" restore ./packages.csproj --packages . " />
45
45
</exec >
46
46
</target >
47
47
Original file line number Diff line number Diff line change 59
59
file=" ${tools.dir}/packages.csproj"
60
60
xpath=" /Project/ItemGroup/PackageReference[@Include = '${tool-id}']/@Version"
61
61
property=" tool-version" />
62
- <property name =" tool-path" value =" ${environment::get-folder-path('UserProfile')}/.nuget/packages /${tool-id}/${tool-version}/" />
62
+ <property name =" tool-path" value =" ${tools.dir} /${tool-id}/${tool-version}/" />
63
63
</target >
64
64
65
65
<target name =" find-async-generator-console" >
70
70
71
71
<target name =" generate-async" depends =" solution-restore find-async-generator-console" >
72
72
<exec workingdir =" ${root.dir}/src" program =" dotnet" verbose =" true" >
73
- <arg line =" ${async-generator-console}" />
73
+ <arg line =" . ${async-generator-console}" />
74
74
</exec >
75
75
</target >
76
76
You can’t perform that action at this time.
0 commit comments