raco pkg:安装git repo的子文件夹
如何将Git repo的子文件夹安装为Racket软件包raco pkg:安装git repo的子文件夹,git,package,racket,Git,Package,Racket,如何将Git repo的子文件夹安装为Racket软件包 e、 例如,如果repofoo有两个文件夹pkg和etc,我如何告诉raco pkg install忽略etc?将?path=pkg放在URL的末尾: https://github.com/USER/foo.git?path=pkg (文件:见下第5项或下第2段) 如果Git repo包含多个文件夹,这些文件夹应该是包的一部分(可能是pkg1和pkg2),请在repo中放置一个info.rkt: #lang info (def
e、 例如,如果repo
foo
有两个文件夹pkg
和etc
,我如何告诉raco pkg install
忽略etc
?将?path=pkg
放在URL的末尾:
https://github.com/USER/foo.git?path=pkg
(文件:见下第5项或下第2段)
如果Git repo包含多个文件夹,这些文件夹应该是包的一部分(可能是
pkg1
和pkg2
),请在repo中放置一个info.rkt
:
#lang info
(define collection 'multi)
(define setup-collects '("pkg1" "pkg2"))
(define compile-omit-paths '("other"))
然后raco-pkg安装https://github.com/USER/foo.git
将忽略其他
文件夹