2016-09-10 64 views

回答

3

?path=pkg在URL的末尾:

https://github.com/USER/foo.git?path=pkg 

(文檔:見Package Sources下的第5子彈或Git deployment下,第2段)


如果混帳回購協議包含應該是包的一部分的多個文件夾(可能是pkg1pkg2),請在回購中輸入info.rkt

#lang info 
(define collection 'multi) 
(define setup-collects '("pkg1" "pkg2")) 
(define compile-omit-paths '("other")) 

然後raco pkg install https://github.com/USER/foo.git將忽略other文件夾。

相關問題