æ¯ææä¾ã®ä»æã®gemã§ã
itamae 㧠tig ãã¤ã³ã¹ãã¼ã«ãããã©ã°ã¤ã³ãä½ãã¾ãã
itamae-plugin-recipe-tig (0.1.0): Itamae plugin to install tig https://t.co/IOxQm4AfUi
— RubyGems (@rubygems) 2015, 12æ 15
ä½ã£ãçµç·¯
yumãaptã«ä¸ãã£ã¦ãtigã®ããã±ã¼ã¸ã¯å¤ãããã®ã§éçºãµã¼ãã«æ°ããtigãå ¥ããæã¯æ¯åãã«ããã¦ãã®ã§ããããã«ãããã®ãé¢åã«ãªã£ãã®ã§itamaeã®ã¬ã·ãä½ãã¾ããã *1
使ãæ¹
ãããªæãã§ã
recipe
# recipe.rb include_recipe "tig"
node
# node.yml tig: # tig prefix (default: /usr/local) prefix: /usr/local # source dir (default: /usr/local/src) src: /usr/local/src # specify scheme to use in git clone (default: git) scheme: git # install version (default: HEAD) version: 2.1.1
ã¡ã¢ï¼tigã®æååã対ç
éçºç°å¢ã§tigãæ°ããããããããªé¢¨ã«æ¥æ¬èªãæååãããããã«ãªãã¾ãã
tigã®ãã¼ã¸ã§ã³ã¯2.1.1ï¼ç¾è¡ææ°ï¼ã§ãOSã¯Debian wheezyã¨CentOS 6ã®ä¸¡æ¹
ãtig æ¥æ¬èª æååããã§ã°ã°ã£ããä¸è¨ã®ã¨ã³ããªãè¦ã¤ããã¾ãã
ã¦ã£ããncursesãå¤ãã®ãã¨æã£ã¦ãããããã£ã¦ãã®ã§ãããçµå±åå ã¯å¥ã®ã¨ããã«ããã./configure
ãã¦è§£æ±ºãã¾ãã *2
# gitããcloneããå ´åã¯configureããªãã®ã§makeããå¿
è¦ããã
make configure
./configure
åè
https://github.com/jonas/tig/blob/master/INSTALL.adoc#installation-using-configure
æååã解決ããå³