Keyboard shortcuts

Press โ† or โ†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

NF.Tool.ReleaseNoteMaker

์‹œ์ž‘ํ•˜๋ฉฐ

๊ธฐ๋ก

๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๊ฒฐ์ •

  • AnsiConsole

    • public override string StackTrace { get; } ์•ˆ๋จนํžˆ๋Š”๊ฒƒ.
    • stderr AnsiConsole ์–ด๋–ป๊ฒŒ ์ฒ˜๋ฆฌํ• ๊ณ 
    • MultiSelectionPrompt ํ•ด์„œ ํ‚ค๋ฅผ ์ž…๋ ฅ๋ฐ›์•„ ์บ”์Šฌ ๋„ฃ๊ณ ์‹ถ์—ˆ๋Š”๋ฐ ์บ”์Šฌ์ด ์—†๋„ค?
    • ์ตœ๋Œ€๊ธธ์ด
      • AnsiConsole.Profile.Width = 255;
  • Tomlyn ์‚ฌ์šฉ๋ฒ•

    • array๋ฅผ ํ‚ค๋ฅผ ์ง€์ •ํ•ด์„œ dic์œผ๋กœ ๋„ฃ๋Š” ๊ธฐ๋Šฅ์ด ์žˆ์œผ๋ฉด ์ข‹์„๊ฒƒ๊ฐ™์€๋ฐโ€ฆ
  • ์ง‘ํ•ฉ์—ฐ์‚ฐ ๊นŒ๋จน๋„ค

  • public void Deconstruct(out string fname, out string lname)

  • ๊ตฌ์กฐ์ฒด ์ƒ์„ฑ์ž ๋ฐฉ์ง€

    • public ObsoleteAttribute(string? message, bool error)
      • throw new InvalidOperationException

๋ Œ๋”ํ…œํ”Œ๋ฆฟ ๋ฐ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์„ ํƒ

visual studio์—์„œ ๋””๋ฒ„๊น…์ด ๋˜๋Š”๊ฑฐ์— ๊ฐ€์ค‘์น˜๋ฅผ ๋งŽ์ด ์คŒ.

  • t4
    • ๋””๋ฒ„๊น… ๊ฐ€๋Šฅํ•œ๊ฑธ๋กœ
    • mono t4 ๋””๋ฒ„๊น… ๊ฝค ๊ดœ์ฐฎ๋„ค, ๊ทผ๋ฐ string๋„˜๊ธฐ๋Š”๊ฒŒ ์•„๋‹ˆ๋ผ filepath๋ผ ์ฐ์ฐ
  • razor
    • ์•„์ง ๊ด€๋ฆฌ๊ฐ€ ๋˜์ง€ ์•Š๋Š”๋“ฏ : https://github.com/adoconnection/RazorEngineCore/pull/148
    • razor๋กœ๋„ template๋งŒ๋“ค์–ด ๋ดค๋Š”๋ฐ ์˜์™ธ๋กœ t4๋ณด๋‹ค ๊ฐ€์‹œ์„ฑ์ด ์•ˆ์ข‹์•˜๋‹ค.
  • liquid
  • towncrier๋Š” Jinja2
  • ์ผ๋‹จ liquid๋ฅผ ๋„ฃ๊ธด ๋„ฃ์—ˆ๋Š”๋ฐ t4๊ฐ€ ๋” ๋‚˜์•„๋ณด์—ฌ์„œ ์‚ญ์ œํ• ๊นŒ ๋ณด๋ฅ˜์ค‘ => ํ˜น์‹œ๋‚˜ ๋‹ค๋ฅธ ์‚ฌ๋žŒ๋“ค์ด ์“ฐ๋ฉด ๋Œ์ดํ‚ค๊ธฐ ํž˜๋“œ๋‹ˆ ๋น ๋ฅธ ์‚ญ์ œ๋กœ ๊ฒฐ์ •.
  • fluid / scriban / dotliquid
  • liquid๋ฅผ ์ง€์›ํ–ˆ์œผ๋‚˜ whitespace๊ด€๋ฆฌ๊ฐ€ ์–ด๋ ต๊ณ  fluid์—์„œ class์˜ methodํ˜ธ์ถœ์ด ์•ˆ๋˜์—ˆ๋‹ค.
    • ์•ˆ๋˜์„œ {%- assign categoryIssues = category.GetAllIssues() -%}
    • ์ด๋ ‡๊ฒŒ ํ•จ {%- assign categoryIssues = category.CategoryIssues -%}

๋„ค์ด๋ฐ

  • towncrier

    • ๋‹ค์ด๋‚˜๋ฏน ์–ธ์–ด ํƒ€์ž… ๋ฐ ๋„ค์ด๋ฐ ๋ฌธ์ œ - ์ €์ชฝ ์„ธ์ƒ ๋„ค์ด๋ฐ ์„ผ์Šค ๋ง˜์— ์•ˆ๋“ฌ.
  • PatchNoteMaker ํ–ˆ๋Š”๋ฐโ€ฆ ReleaseNoteMaker ๋„ ์žˆ๋Š”๋ฐโ€ฆ

    • PatchNoteMakerํ–ˆ๋‹ค๊ฐ€ ์ตœ์ข…์ ์œผ๋กœ ReleaseNoteMaker๋กœ ๊ฒฐ์ •.

๊ธฐํƒ€

> [!NOTE]
> Information the user should notice even if skimming.

.tt vs .t4

  • ํ™•์žฅ์ž๋ฅผ .tt๋กœ ํ–ˆ๋‹ค๊ฐ€ t4๋กœ ํ–ˆ๋‹ค๊ฐ€ ๋‹ค์‹œ tt๋กœ.
    • ์ฒ˜์Œ์— ์ฐพ์•„๋ดค์„๋•Œ t4 template๊ฐ€ ์–ด๊ฐ์— ๊ฐ๊ฒจ ์ฐพ์•„๋ดค๋‹ค๊ฐ€ .tt๊ฐ€ ๋งŽ์ด ์“ฐ์ธ๋‹ค๋Š” ์‚ฌ์‹ค์„ ์•Œ๊ณ  .tt๋กœ ๊ฒฐ์ •
    • ํ›„์— ๊นŒ๋จน์–ด์„œ ์™œ .tt์•ผ๋ผ๊ณ  ์ƒ๊ฐํ•˜๊ณ  t4๊ฐ€ ๋ง˜์— ๋“ค์–ด์„œ .t4๋กœ ๋ณ€๊ฒฝ
    • ํ›„์— ๋˜ ๋ญ”๊ฐ€ ์Œ”ํ•ด์„œ ๋‹ค์‹œ ์ฐพ์•„๋ณด๊ณ  .tt๋กœ ๋กค๋ฐฑ

์žก๋‹คํ•œ