File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ string version = null,
18
18
semVersion = null ,
19
19
milestone = null ;
20
20
21
+ FilePath litjsonProjectPath = "./src/LitJson/LitJSON.csproj" ;
22
+
21
23
///////////////////////////////////////////////////////////////////////////////
22
24
// SETUP / TEARDOWN
23
25
///////////////////////////////////////////////////////////////////////////////
@@ -129,17 +131,17 @@ Task("Test-SourceLink")
129
131
. IsDependentOn ( "Build" )
130
132
. WithCriteria ( IsRunningOnWindows ( ) )
131
133
. Does ( ( ) => {
132
- foreach ( var asssembly in GetFiles ( "./src/LitJSON /bin/" + configuration + "/**/*.dll" ) )
134
+ foreach ( var asssembly in GetFiles ( "./src/LitJson /bin/" + configuration + "/**/*.dll" ) )
133
135
{
134
- DotNetCoreTool ( "./src/LitJSON/LitJSON.csproj" , "sourcelink" , $ "test { asssembly } ") ;
136
+ DotNetCoreTool ( litjsonProjectPath . FullPath , "sourcelink" , $ "test { asssembly } ") ;
135
137
}
136
138
} ) ;
137
139
138
140
Task ( "Package" )
139
141
. IsDependentOn ( "Test" )
140
142
. IsDependentOn ( "Test-SourceLink" )
141
143
. Does ( ( ) => {
142
- DotNetCorePack ( "./src/LitJSON/LitJSON.csproj" ,
144
+ DotNetCorePack ( litjsonProjectPath . FullPath ,
143
145
new DotNetCorePackSettings {
144
146
Configuration = configuration ,
145
147
NoBuild = true ,
You can’t perform that action at this time.
0 commit comments