File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ string version = null,
1818 semVersion = null ,
1919 milestone = null ;
2020
21+ FilePath litjsonProjectPath = "./src/LitJson/LitJSON.csproj" ;
22+
2123///////////////////////////////////////////////////////////////////////////////
2224// SETUP / TEARDOWN
2325///////////////////////////////////////////////////////////////////////////////
@@ -129,17 +131,17 @@ Task("Test-SourceLink")
129131 . IsDependentOn ( "Build" )
130132 . WithCriteria ( IsRunningOnWindows ( ) )
131133 . Does ( ( ) => {
132- foreach ( var asssembly in GetFiles ( "./src/LitJSON /bin/" + configuration + "/**/*.dll" ) )
134+ foreach ( var asssembly in GetFiles ( "./src/LitJson /bin/" + configuration + "/**/*.dll" ) )
133135 {
134- DotNetCoreTool ( "./src/LitJSON/LitJSON.csproj" , "sourcelink" , $ "test { asssembly } ") ;
136+ DotNetCoreTool ( litjsonProjectPath . FullPath , "sourcelink" , $ "test { asssembly } ") ;
135137 }
136138} ) ;
137139
138140Task ( "Package" )
139141 . IsDependentOn ( "Test" )
140142 . IsDependentOn ( "Test-SourceLink" )
141143 . Does ( ( ) => {
142- DotNetCorePack ( "./src/LitJSON/LitJSON.csproj" ,
144+ DotNetCorePack ( litjsonProjectPath . FullPath ,
143145 new DotNetCorePackSettings {
144146 Configuration = configuration ,
145147 NoBuild = true ,
You can’t perform that action at this time.
0 commit comments