CreatePackage
01 Syntax
SMRUCC.Rsharp.Development.Package.File.CreatePackage
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| getAssemblyList | 1 | scan for all dll files from the given package source dir |
| Build | 1 | build a R# package file |
| getRuntimeTags | 1 | get assembly runtime folder tag |
| buildUnixMan | 1 | create unix .1 man page file and html help documents |
| buildRscript | 1 | this function just add PackageModel.symbols |
| MakeFunction | 1 | fix for the function name |
| loadingDependency | 1 | Create package dependency and module loading list |
| getFileReader | 1 | + %s, means the path parameter value + 1%, means integer value 1 + 1#, means float value 1 + $, means the Environment parameter reference |
| IsFunctionDeclare | 1 |
03 Members
getAssemblyList(
String, Index(Of String), Boolean)scan for all dll files from the given package source dir
Parameters
| Name | Type | Description |
|---|---|---|
dir | String | - |
assemblyFilters | Index(Of String) | all of the assembly file that appears in this index list will be excludes from the package build |
build a R# package file
Parameters
| Name | Type | Description |
|---|---|---|
target | DESCRIPTION | the target directory that contains the necessary files for create a R# package file. |
outfile | String | the output zip file stream |
enableDebugSymbols | Stream | enable add debug symbol pdb files into assembly package? |
getRuntimeTags
get assembly runtime folder tag
Returns
net48, net6.0, net5.0
buildUnixMan(PackageModel,
String)create unix .1 man page file and html help documents
Parameters
| Name | Type | Description |
|---|---|---|
file | PackageModel | - |
package_dir | String | - |
this function just add PackageModel.symbols
Parameters
| Name | Type | Description |
|---|---|---|
file | PackageModel | - |
script | String | - |
loading | List(Of Expression) | a list of dependency expression |
MakeFunction(Expression)
fix for the function name
Remarks
this function will rename the function with anomoymous name
Parameters
| Name | Type | Description |
|---|---|---|
line | Expression | - |
loadingDependency(
IEnumerable(Of Expression))Create package dependency and module loading list
Parameters
| Name | Type | Description |
|---|---|---|
loading | IEnumerable(Of Expression) | - |
getFileReader(
String)%s, means the path parameter value
1%, means integer value 11#, means float value 1$, means the Environment parameter reference
Parameters
| Name | Type | Description |
|---|---|---|
path | String | - |
IsFunctionDeclare(Expression)