Skip to content
This repository was archived by the owner on Feb 12, 2023. It is now read-only.

Commit 10d779c

Browse files
committed
Fix README usage and target name
1 parent b7da420 commit 10d779c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,21 +63,21 @@ Using GitLink via the command line is very simple:
6363

6464
When working with a content proxy or an alternative git VCS system that supports direct HTTP access to specific file revisions use the `-u` parameter with the custom raw content root URL
6565

66-
GitLink.exe -u https://raw.githubusercontent.com/catel/catel <pdbfile>
66+
GitLink.exe <pdbfile> -u https://raw.githubusercontent.com/catel/catel
6767

6868
The custom url will be used to fill in the following pattern `{customUrl}/{revision}/{relativeFilePath}` when generating the source mapping.
6969

7070
When working with a repository using uncommon URL you can use placeholders to specify where the filename and revision hash should be, use `-u` parameter with the custom URL
7171

72-
GitLink.exe -u "https://host/projects/catel/repos/catel/browse/{filename}?at={revision}&raw" <pdbfile>
72+
GitLink.exe <pdbfile> -u "https://host/projects/catel/repos/catel/browse/{filename}?at={revision}&raw"
7373

7474
The custom url will be used to fill the placeholders with the relative file path and the revision hash.
7575

7676
### Logging to a file
7777

7878
When you need to log the information to a file, use the following command line:
7979

80-
GitLink.exe -l GitLinkLog.log <pdbfile>
80+
GitLink.exe <pdbfile> -l GitLinkLog.log
8181

8282
### More options
8383

src/GitLinkTask/GitLink.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<UsingTask TaskName="LinkPdbToGitRemote" AssemblyFile="$(MSBuildThisFileDirectory)GitLinkTask.dll" />
55

6-
<Target Name="LinkSymbolsToRemoteGitRepo"
6+
<Target Name="LinkPdbToGitRemote"
77
AfterTargets="Compile"
88
Condition=" '$(GitLinkEnabled)' == 'true' ">
99
<LinkPdbToGitRemote Condition=" Exists('$(IntermediateOutputPath)$(TargetName).pdb') "

0 commit comments

Comments
 (0)