Paketã¨FAKEã使ãããã«ããçç±ã¨ã
ãã¯ãããããã¾ãã ãã¶ããã®æé帯ã¯å¯ã¦ããã®ã§ããã®è¨äºã¯ãã£ã¨äºç´æ稿ï¼ã©ãã§ãããï¼ã
ããæ°æ¥ãéãè °ãããã¦éçºãããã¡ã³ãããããã¦ããF#ç³»ã©ã¤ãã©ãªã®ä¸é¨ã§Paketã¨FAKEã使ãããã«ããããæè¿ã®æ¸ãæ¹ã«åãããã
ä»å対象ã«ããã®ã¯ä¸è¨ã®ã©ã¤ãã©ãªã
https://github.com/persimmon-projects/Persimmon https://github.com/persimmon-projects/Persimmon.Dried https://github.com/pocketberserker/FAKE.GitBook https://github.com/persimmon-projects/Persimmon.Dried.Quotations https://github.com/pocketberserker/FAKE.GitBook
åºæ¬ã¯ProjectScaffoldãåèã«ãåããã¸ã§ã¯ããã¨ã«ç´°ããå¤æ´ããã¦ããã ProjectScaffoldã¯ãããªãã¯ãã¡ã¤ã³ãªã®ã§é æ ®ãªãåèã«ãã¾ãããã
ç´°ããåµãã©ãã
- ãããããã£ã¬ã¯ããªæ§æãå ¨ç¶éããã®ã¯åãããã®ã«æéãããã
frameworkAssembly
ã«FSharp.Core
ãè¨å®ããã¦ããã©ã¤ãã©ãªãåç §ããã¨ãæãããããªãFSharp.Core
ã®éè¤åç §ãæã- ãããã¨ã©ã¼å ´æããããã¥ããâ¦
- Paketã¯ä»ã®ã¨ããåé¿æ段ããªã
paket install
ãpaket update
ã§æ¯åãã®åé¡ã«ã¶ã¤ããããã温ãã¿ã®ããæä½æ¥ãããå¿ è¦ããã
- nuspecã§ã§ãããã¨ããã¹ã¦paket.templateã§ã§ããããã§ã¯ãªã
- ãã¼ã¸ã§ã³åç §ã¨ãç¾ç¶ç¡ç
- ã¨ã¯ãããnuspecãããpaket.templateã®ã»ãã楽ãªé¨åãããã®ã§ã©ã£ã¡ãã©ã£ã¡
ãªãPaketã使ãããã«ããã
ããããåããF#çéã ã¨ããã¡ã¯ãã¹ã¿ã³ãã¼ãã ã£ãããã¤ãããªãã§å»å¹´ããããããããã使ãå§ããã®ãã¨ããã¨
- ãããªãVisual Studioä¸ã§ãã«ããã¦ãã¡ããã¨ä¾åããã±ã¼ã¸ããã¦ã³ãã¼ããã¦ãããããã«ãªã£ã
- æ£ç´ããã大ãã
- 以åã¯ã³ãã³ãå©ãã¦ããVSä¸ã§ãã«ãâ¦ã¨ããå·¥ç¨ãã¤ããã¦ä½¿ããªãã£ãã¨ããã®ãåå ã®7å²
- Paket.VisualStudioãã§ãã
- ã¨ã¯ããGUIãä¸åã使ã£ããã¨ããªãâ¦
- Visual Studio 2015ããnugetããã®restoreãè¨å®ãã¦ãnuget.exeãå
¥ã£ã¦ããªããªã£ã
- 移è¡çç±ã®3å²
- TravisCIã¨ããèããã¨ããã¸ã§ã¯ãå梱ã®ã»ãã楽ã ãªã¨æãã¦ãã
- ããã¯äººããããã ã¨æã
ããããã°æè¿ãgroup
ã«ãã£ã¦ä¾åããã±ã¼ã¸ãç´°ããåé¢ã§ããããã«ãªã£ãããã ã
ãããã§ProjectScaffoldå
ã®å種pathãå¤æ´ããã¦ãã¦ããªãå´©ãçã«å¯¾å¿ããå¿
è¦ãã§ããããã¯ã¾ãå¥ã®è©±ã
ã¨ã¯ãããNuGetã§å°ããªãã¬ãã«ã®ã©ã¤ãã©ãªç¾¤ã¯å¼ãç¶ãNuGetã§ããã¤ããã§ããã
ãªãFAKEã使ãããã«ããã
DSLãä¸è©ã ã£ããè¥å¹²ãã£ãããããªã©ãè²ã è¨ããã¦ãããã«ããã¼ã«FAKEããã ç§ã¯æ¶èããããªãã®ã§PowerShellãbashã§æ¸ãã°ããã(ããã¯ããã§æ¶èããã®ã§ã¯ãã¨ãçªã£è¾¼ã¿ã¯ãªãã§)ã¨ããã£ã¨æã£ã¦ãã¾ããããã¾ãè²ã ã¨ããã®ã§ããâ¦ã
- å¥è¨èªã®ãã«ããã¼ã«ã使ã£ã¦ããããæµæããã®ãããªãããªã£ã
- npm(+gulp)ãsbtãgradleãrebarãmixãetcâ¦
- ãããã©ãã大差ãªããããã¨ããæ°æã¡ã«ï¼ãã¡ãã人ã«ãã£ã¦ç°è«ã¯ããã ããï¼
- åè¨èªã®ããã¡ã¯ãã¹ã¿ã³ãã¼ãã使ã£ã¦ããã°æ°å¹´ã¯æ»ãªãªãã ããã¨ããçµè«ã«è³ã£ã
- ãã¹ãã£ã³ã°ãã¬ã¼ã ã¯ã¼ã¯ããã«ããã¼ã«ã¯ä»ã®ã©ã¤ãã©ãªãããå ¥ãæ¿ãããµã¤ã¯ã«ãé ãã ããã¨ããçãèãï¼
- Paketã«ãã£ã¦æ·å±
ãè¥å¹²ä¸ãã£ãï¼
- NuGetæ代ã¯ã©ãã«package.configãç½®ããæ©ãã
- æ©ãã çµæã使ããªãã£ã
- Gitã¸ã®ã³ãããããã®ä»ã®æä½ãPowerShellãbashã§ã²ãããé å¼µããã¨ã®éç
- æ¶èãå§ãã
- PowerShellãbashã«å¼·ããã³ã§ã¯ãªãã®ã§â¦
ç¹ã«ç©æ¥µçãªçç±ã¯ãªãã¨ããâ¦ãã¿ã¾ããã
ã¾ã¨ã
ããã¡ã¯ãã¹ã¿ã³ãã¼ãã«ã¯å·»ããããã
ãã®ãã¡å¼·ã人ãã¡ããã£ã¨ãããã®ãä½ã£ã¦ãããã
ããããæªæ¥ãä¿¡ãããã ï¼