Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Stepami committed Jul 26, 2024
1 parent af644d8 commit e1e7385
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ let s = v2d as string
После клонирования репозитория идём в папку проекта `HydraScript`.

Там выполняем команду:
```dotnet publish -r <RUNTIME_IDENTIFIER> -p:PublishSingleFile=true -p:DebugType=embedded --self-contained false -o <OUTPUT_DIRECTORY>```
```dotnet publish ./src/HydraScript/HydraScript.csproj -r <RUNTIME_IDENTIFIER> -p:PublishSingleFile=true -p:DebugType=embedded --self-contained false -o <OUTPUT_DIRECTORY>```

Список идентификаторов рантайма лежит [тут](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog#windows-rids)

Expand Down
2 changes: 1 addition & 1 deletion src/HydraScript.Lib/FrontEnd/GetTokens/Data/Token.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public override string ToString()

public record EndToken() : Token(new EndOfProgramType(), null!, null!)
{
public override string ToString() => Type.ToString();
public override string ToString() => Type.Tag;
}

[ExcludeFromCodeCoverage]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ public record TokenType(string Tag, string Pattern, int Priority)

public string GetNamedRegex() => $"(?<{Tag}>{Pattern})";

public sealed override string ToString() => Tag;
public override string ToString() => Tag;
}

0 comments on commit e1e7385

Please sign in to comment.