加速下載 Symfony2 外掛

edited 十月 2013 in 程式架構
another vendors shell that only export missing deps in vendors for symfony2

It's just a little bit annoying to 'git clone' whole repository when I just want to try the feature of specified bundle. Typing the commands manually is another boring thing.

So, based on original vendors shell, I made another one called 'vendors_export'. It skips lots of things. Only install missing deps and use 'svn export' to replace 'git clone'.

https://gist.github.com/1590354

It would be great if you like it, and even better to have more similar forks. ;)

---

簡單的說,因為要安裝 Symfony2 外掛時官方作法會要下載所有版本資料,自己手動打指令又打得很氣,所以改出這個指令,讓安裝外掛可以快一點。把檔案內容放在 bin/vendors_export 後,設定可以執行的權限,然後跑跑看就知道了(如果你看得懂我在說什麼的話)

原始討論: http://twpug.net/x/modules/newbb/viewtopic.php?topic_id=6489
Sign In or Register to comment.