SlideShare a Scribd company logo
1 of 14
Download to read offline
Carton
                について何か話す
              2013/02/27 CartonConference
                       @ikasam_a




13年2月27日水曜日
Recent Status

              • cpanm 1.6000 released
              • carton v0.9.10 released
              • miyagawa++


13年2月27日水曜日
Carton は
              Bundler を Perl に移植したもの




13年2月27日水曜日
今日のネタ


              • http://gembundler.com/v1.2/commands.html
              • http://gembundler.com/v1.2/gemfile.html


13年2月27日水曜日
PRIMARY COMMANDS
    bundle install(1) bundle-install.1.html
        Install the gems specified by the Gemfile or Gemfile.lock

       bundle update(1) bundle-update.1.html
           Update dependencies to their latest versions

       bundle package(1) bundle-package.1.html
           Package the .gem files required by your application into the
           vendor/cache directory

       bundle exec(1) bundle-exec.1.html
           Execute a script in the context of the current bundle

       bundle config(1) bundle-config.1.html
           Specify and read configuration options for bundler

13年2月27日水曜日
bundle install
              • carton install
              • --deployment
              • --path=<path>
              • create Gemfile.lock (carton.lock)
              • --local (--cache)
               • <system>/gems/ (./local/)
13年2月27日水曜日
bundle update


              • carton update
              • bundle update <gems>


13年2月27日水曜日
bundle package

              • carton bundle
              • install (lock) and copy
              • save to vendor/cache (local/cache)


13年2月27日水曜日
bundle exec

              • carton exec
              • run <command>
              • -I<lib>
              • -- <command>

13年2月27日水曜日
bundle config

              • 使ったこと無いから知らない
               • build option とか指定できるらしい
                by あんちぽさん

              • 要るの?

13年2月27日水曜日
Gemfile

              • source <repository>
              • gem <name>, <version>
              • gem <name>,
                  :git => <url>, :branch => <branch>
              • gem <name>, :path => <path>

13年2月27日水曜日
cpanfile

              • use CPAN mirror ???
              • requires “name”, “version”;
              • requires “name”,
                   via => “git-url”, branch => “branch”;
              • requires “name”, via => “path”;

13年2月27日水曜日
Carton に多分無いもの

              • carton update
              • install from git, or local
               • cpanm is ready (1.6000)
              • do not override “local/cache”
               • Bundler: vendor/cache, vendor/bundle
              • correct mirror cache w/ local modules
13年2月27日水曜日
おわりに


              • ちなみに僕の普段利用バージョン
               • cpanm (App::cpanminus) version 1.5019
               • carton v0.9.4
              • bundle 実装して使い出してそのまま

13年2月27日水曜日

More Related Content

Viewers also liked

10年モノ熟成Perlとの付き合い方
10年モノ熟成Perlとの付き合い方10年モノ熟成Perlとの付き合い方
10年モノ熟成Perlとの付き合い方Masaki Nakagawa
 
スマートフォンアプリの テスト自動化をはじめよう
スマートフォンアプリの テスト自動化をはじめようスマートフォンアプリの テスト自動化をはじめよう
スマートフォンアプリの テスト自動化をはじめようKoji Hasegawa
 
これからの Microservices
これからの Microservicesこれからの Microservices
これからの MicroservicesToru Yamaguchi
 
爆速でAndroidアプリを ビルドするための仕組み DeNA TechCon #denatechcon
爆速でAndroidアプリを ビルドするための仕組み DeNA TechCon #denatechcon爆速でAndroidアプリを ビルドするための仕組み DeNA TechCon #denatechcon
爆速でAndroidアプリを ビルドするための仕組み DeNA TechCon #denatechconYosaku Toyama
 
iOSレガシーコード改善ガイド〜マンガボックス開発における事例〜
iOSレガシーコード改善ガイド〜マンガボックス開発における事例〜iOSレガシーコード改善ガイド〜マンガボックス開発における事例〜
iOSレガシーコード改善ガイド〜マンガボックス開発における事例〜Kentaro Matsumae
 
DeNAが取り組む Software Engineer in Test
DeNAが取り組む Software Engineer in TestDeNAが取り組む Software Engineer in Test
DeNAが取り組む Software Engineer in TestMasaki Nakagawa
 
DeNAtechcon_DeNAのセキュリティの取り組みと、スマートフォンセキュリティ(same-origin policy)
DeNAtechcon_DeNAのセキュリティの取り組みと、スマートフォンセキュリティ(same-origin policy)DeNAtechcon_DeNAのセキュリティの取り組みと、スマートフォンセキュリティ(same-origin policy)
DeNAtechcon_DeNAのセキュリティの取り組みと、スマートフォンセキュリティ(same-origin policy)Toshiharu Sugiyama
 

Viewers also liked (7)

10年モノ熟成Perlとの付き合い方
10年モノ熟成Perlとの付き合い方10年モノ熟成Perlとの付き合い方
10年モノ熟成Perlとの付き合い方
 
スマートフォンアプリの テスト自動化をはじめよう
スマートフォンアプリの テスト自動化をはじめようスマートフォンアプリの テスト自動化をはじめよう
スマートフォンアプリの テスト自動化をはじめよう
 
これからの Microservices
これからの Microservicesこれからの Microservices
これからの Microservices
 
爆速でAndroidアプリを ビルドするための仕組み DeNA TechCon #denatechcon
爆速でAndroidアプリを ビルドするための仕組み DeNA TechCon #denatechcon爆速でAndroidアプリを ビルドするための仕組み DeNA TechCon #denatechcon
爆速でAndroidアプリを ビルドするための仕組み DeNA TechCon #denatechcon
 
iOSレガシーコード改善ガイド〜マンガボックス開発における事例〜
iOSレガシーコード改善ガイド〜マンガボックス開発における事例〜iOSレガシーコード改善ガイド〜マンガボックス開発における事例〜
iOSレガシーコード改善ガイド〜マンガボックス開発における事例〜
 
DeNAが取り組む Software Engineer in Test
DeNAが取り組む Software Engineer in TestDeNAが取り組む Software Engineer in Test
DeNAが取り組む Software Engineer in Test
 
DeNAtechcon_DeNAのセキュリティの取り組みと、スマートフォンセキュリティ(same-origin policy)
DeNAtechcon_DeNAのセキュリティの取り組みと、スマートフォンセキュリティ(same-origin policy)DeNAtechcon_DeNAのセキュリティの取り組みと、スマートフォンセキュリティ(same-origin policy)
DeNAtechcon_DeNAのセキュリティの取り組みと、スマートフォンセキュリティ(same-origin policy)
 

More from Masaki Nakagawa

YAPCと俺 (吉祥寺.pm #17)
YAPCと俺 (吉祥寺.pm #17)YAPCと俺 (吉祥寺.pm #17)
YAPCと俺 (吉祥寺.pm #17)Masaki Nakagawa
 
レシピブログのサービス設計と今後の展望
レシピブログのサービス設計と今後の展望レシピブログのサービス設計と今後の展望
レシピブログのサービス設計と今後の展望Masaki Nakagawa
 
5minQues - SWET近況報告
5minQues - SWET近況報告5minQues - SWET近況報告
5minQues - SWET近況報告Masaki Nakagawa
 
WebサービスのソフトウェアQAと自動テスト戦略
WebサービスのソフトウェアQAと自動テスト戦略WebサービスのソフトウェアQAと自動テスト戦略
WebサービスのソフトウェアQAと自動テスト戦略Masaki Nakagawa
 
2014-04-22 Ques #4 Automation Testing of Mobage Platform
2014-04-22 Ques #4 Automation Testing of Mobage Platform2014-04-22 Ques #4 Automation Testing of Mobage Platform
2014-04-22 Ques #4 Automation Testing of Mobage PlatformMasaki Nakagawa
 
Test Engineering on Mobage
Test Engineering on MobageTest Engineering on Mobage
Test Engineering on MobageMasaki Nakagawa
 
Perl Testing Consideration (seen from other languages)
Perl Testing Consideration (seen from other languages)Perl Testing Consideration (seen from other languages)
Perl Testing Consideration (seen from other languages)Masaki Nakagawa
 

More from Masaki Nakagawa (9)

YAPCと俺 (吉祥寺.pm #17)
YAPCと俺 (吉祥寺.pm #17)YAPCと俺 (吉祥寺.pm #17)
YAPCと俺 (吉祥寺.pm #17)
 
レシピブログのサービス設計と今後の展望
レシピブログのサービス設計と今後の展望レシピブログのサービス設計と今後の展望
レシピブログのサービス設計と今後の展望
 
5minQues - SWET近況報告
5minQues - SWET近況報告5minQues - SWET近況報告
5minQues - SWET近況報告
 
WebサービスのソフトウェアQAと自動テスト戦略
WebサービスのソフトウェアQAと自動テスト戦略WebサービスのソフトウェアQAと自動テスト戦略
WebサービスのソフトウェアQAと自動テスト戦略
 
2014-04-22 Ques #4 Automation Testing of Mobage Platform
2014-04-22 Ques #4 Automation Testing of Mobage Platform2014-04-22 Ques #4 Automation Testing of Mobage Platform
2014-04-22 Ques #4 Automation Testing of Mobage Platform
 
Test Engineering on Mobage
Test Engineering on MobageTest Engineering on Mobage
Test Engineering on Mobage
 
As an Test Engineer
As an Test EngineerAs an Test Engineer
As an Test Engineer
 
Brownie
BrownieBrownie
Brownie
 
Perl Testing Consideration (seen from other languages)
Perl Testing Consideration (seen from other languages)Perl Testing Consideration (seen from other languages)
Perl Testing Consideration (seen from other languages)
 

Carton について何か話す

  • 1. Carton について何か話す 2013/02/27 CartonConference @ikasam_a 13年2月27日水曜日
  • 2. Recent Status • cpanm 1.6000 released • carton v0.9.10 released • miyagawa++ 13年2月27日水曜日
  • 3. Carton は Bundler を Perl に移植したもの 13年2月27日水曜日
  • 4. 今日のネタ • http://gembundler.com/v1.2/commands.html • http://gembundler.com/v1.2/gemfile.html 13年2月27日水曜日
  • 5. PRIMARY COMMANDS bundle install(1) bundle-install.1.html Install the gems specified by the Gemfile or Gemfile.lock bundle update(1) bundle-update.1.html Update dependencies to their latest versions bundle package(1) bundle-package.1.html Package the .gem files required by your application into the vendor/cache directory bundle exec(1) bundle-exec.1.html Execute a script in the context of the current bundle bundle config(1) bundle-config.1.html Specify and read configuration options for bundler 13年2月27日水曜日
  • 6. bundle install • carton install • --deployment • --path=<path> • create Gemfile.lock (carton.lock) • --local (--cache) • <system>/gems/ (./local/) 13年2月27日水曜日
  • 7. bundle update • carton update • bundle update <gems> 13年2月27日水曜日
  • 8. bundle package • carton bundle • install (lock) and copy • save to vendor/cache (local/cache) 13年2月27日水曜日
  • 9. bundle exec • carton exec • run <command> • -I<lib> • -- <command> 13年2月27日水曜日
  • 10. bundle config • 使ったこと無いから知らない • build option とか指定できるらしい by あんちぽさん • 要るの? 13年2月27日水曜日
  • 11. Gemfile • source <repository> • gem <name>, <version> • gem <name>, :git => <url>, :branch => <branch> • gem <name>, :path => <path> 13年2月27日水曜日
  • 12. cpanfile • use CPAN mirror ??? • requires “name”, “version”; • requires “name”, via => “git-url”, branch => “branch”; • requires “name”, via => “path”; 13年2月27日水曜日
  • 13. Carton に多分無いもの • carton update • install from git, or local • cpanm is ready (1.6000) • do not override “local/cache” • Bundler: vendor/cache, vendor/bundle • correct mirror cache w/ local modules 13年2月27日水曜日
  • 14. おわりに • ちなみに僕の普段利用バージョン • cpanm (App::cpanminus) version 1.5019 • carton v0.9.4 • bundle 実装して使い出してそのまま 13年2月27日水曜日