jsããã¸ã§ã¯ãã®ã¡ã¿ãã¡ã¤ã«ãå¤ããã¦ã¦ã¶ãã®ã§chestã¨ããã®ã使ã£ã¦ã¿ãã¡ã¢
ã¡ã¿ãã¡ã¤ã«ãå¤ããã
TypeScriptã«éã£ã話ã§ã¯ãªãã®ã ããã©ãJavaScripté¢é£ã®ããã¸ã§ã¯ãã¤ãã£ã¦ãã¨ããã±ã¼ã¸ç®¡çãªã©ãå®ç¾©ããã¡ã¿ãã¡ã¤ã«ãããããã£ã¬ã¯ããªã«æ£ä¹±ãããã¨ã«ãªãããã¨ãã°
ããã®
ãããããã
chestã¨ããã®ãããã£ã½ã
The easy metafile manager
ã¨ã®ãã¨
ã¤ã³ã¹ãã¼ã«
% npm install -g chest % which chest /Users/otiai10/.nvm/v0.11.9/bin/chest
ã¤ãã£ã¦ã¿ã
% chest put bower.json [?] Add bower.json to gitignore on the project root: Yes % rm -rf bower_components % git status On branch freeze/try-chest Changes not staged for commit: (use "git add/rm <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: .gitignore deleted: bower.json Untracked files: (use "git add <file>..." to include in what will be committed) .chest/ no changes added to commit (use "git add" and/or "git commit -a") %
ããã§bower.jsonãchestã®ä¸ã«ãã¾ãããç¶æ ããããåãåºãã¦å®è¡ã¾ã§ãããã¨æã£ãã
% chest boost stdout: bower showv#0.3 cached https://github.com/otiai10/showv.git#0.3 bower showv#0.3 validate 0.3 against https://github.com/otiai10/showv.git#0.3 bower jquery#1.10.1 cached git://github.com/jquery/jquery.git#1.10.1 bower jquery#1.10.1 validate 1.10.1 against git://github.com/jquery/jquery.git#1.10.1 bower handlebars#1.0.0 cached git://github.com/components/handlebars.js.git#1.0.0 bower handlebars#1.0.0 validate 1.0.0 against git://github.com/components/handlebars.js.git#1.0.0 bower showv#0.3 install showv#0.3 bower handlebars#1.0.0 install handlebars#1.0.0 bower jquery#1.10.1 install jquery#1.10.1 showv#0.3 bower_components/showv handlebars#1.0.0 bower_components/handlebars jquery#1.10.1 bower_components/jquery stderr: ----------------------------------------- Update available: 1.3.3 (current: 1.2.7) Run npm update -g bower to update -----------------------------------------
ãããããã¦ãã½ã
ä»ã«ããã¾ã£ã¦ã¿ã
% chest put testem.json [?] Add testem.json to gitignore on the project root: Yes % chest put Gruntfile.coffee [?] Add Gruntfile.coffee to gitignore on the project root: Yes
% chest boost File already exist: bower.json stdout: stderr:
ï½±ã¼ï¾ï¾
ã¤ã¾ã
- chest put ããã¨.chestãã£ã¬ã¯ããªä»¥ä¸ã«ãã¾ããã
- chest openã¨ãããã¨ããã¹ãå ´æã«ã·ã³ããªãã¯ãªã³ã¯ãç½®ããã
- chest boostããã¨ãããã«bower installã¨ããèµ°ã
ã¨ãããã¨ã£ã½ãï¼
ã¾ã¨ã
çµå±ããããæãã«ãªãã¾ãã
ã¡ãã£ã¨ããã£ãã®ã¯ãGruntfileã¨ããgit rm --cached
ããªãã£ãã®ã§ãtravisãµã¼ãã§chest boost
ãå®è¡ãããã¨ãã«already exists
ããªããã§ã·ã³ããªãã¯ãªã³ã¯è²¼ãã¦ãªãã£ãããã¾ããã
éæ
ã¨ãããã使ã£ã¦ã¿ãæ