Method | Description | |
---|---|---|
NuGetApiPublisher ( |
Constructs a new logic item.
|
|
Run ( ) : System.Threading.Tasks.Task |
This is the main logic, which does the following: Leave the NuGetApiKey empty to avoid publishing to NuGet main repository |
|
Test ( string directory ) : System.Threading.Tasks.Task |
Tests the main logic and does the following:
|
Method | Description | |
---|---|---|
Build ( string sourceFolder ) : Task |
Builds the source folder. First it copies all the sources into the template folder and then build the project file.
|
|
CreateLocalNupkgFile ( string buildDirectoryPath ) : string |
Creates a local nupkg file.
|
|
DownloadBundle ( ) : Task |
Downloads the API's bundle.
|
|
ExtractSources ( string zipFile ) : string |
Extracts the sources. This method first extracts the bundle and then checks by the source zip if a NuGet package already exists for the specific API version. If not, the method extracts also the source zip to the returned folder path.
|
public NuGetApiPublisher ( |
||
item | ||
return | System |
public Test ( string directory ) : System.Threading.Tasks.Task | ||
directory | string | |
return | System.Threading.Tasks.Task |