Merge "Generate system stub library list at build time"
This commit is contained in:
@@ -40,6 +40,15 @@ type PackagingSpec struct {
|
||||
executable bool
|
||||
}
|
||||
|
||||
// Get file name of installed package
|
||||
func (p *PackagingSpec) FileName() string {
|
||||
if p.relPathInPackage != "" {
|
||||
return filepath.Base(p.relPathInPackage)
|
||||
}
|
||||
|
||||
return ""
|
||||
}
|
||||
|
||||
type PackageModule interface {
|
||||
Module
|
||||
packagingBase() *PackagingBase
|
||||
|
Reference in New Issue
Block a user