Name
spvmdist - Generating SPVM Distribution
Usage
usage: spvmdist [<options>] <class name> [<dir>]
spvmdist Foo
spvmdist Foo My-Foo
spvmdist Foo::Bar::Baz
spvmdist --native c Foo
spvmdist --native c++ Foo
spvmdist --precompile Foo
spvmdist --resource Foo
options:
-h, --help Show this message
-v, --version Show the version
-q, --quiet Quiet output
-f, --force Force to generate files
--native <language> Output a distributioon for a native class
--precompile Add precompilattion setting
--only-lib-files Output only the files in "lib" directory
--no-pm-file Don't output Perl module(.pm) file
--resource Output a distributioon for for a resource
--genlib Shortcut for --only-lib-files --no-pm-file
--user-name <name> User name
--user-email <email> User email
Description
spvmdist
is the command to generate a SPVM distribution.
Details
spvmdist [<options>] <class name> [<dir>]
<options>
are options. These are optional.
<class name>
is the name of the class contained in the distribution.
<dir>
is the output directory. This is optional. The default is the current directory.
These are the output files when <class name>
is MyClass
.
SPVM-MyClass
SPVM-MyClass/.gitattributes
SPVM-MyClass/MANIFEST.SKIP
SPVM-MyClass/.gitignore
SPVM-MyClass/LICENSE
SPVM-MyClass/Makefile.PL
SPVM-MyClass/t
SPVM-MyClass/t/basic.t
SPVM-MyClass/t/lib
SPVM-MyClass/t/lib/SPVM
SPVM-MyClass/t/lib/SPVM/TestCase
SPVM-MyClass/t/lib/SPVM/TestCase/MyClass.spvm
SPVM-MyClass/README.md
SPVM-MyClass/Changes
SPVM-MyClass/lib
SPVM-MyClass/lib/SPVM
SPVM-MyClass/lib/SPVM/MyClass.spvm
SPVM-MyClass/lib/SPVM/MyClass.pm
If a file is already exists, the file is not overwritten.
Options
--help
--help
Outputs how to use the spvmdist
command to standard output.
-h
-h
Same as "--help".
--version
--version
Outputs the version of the spvmdist
command to standard output. This version is the same as the version of SPVM.
-v
-v
Same as "--version".
--quiet
--quiet
Suppresses messages from the spvmdist
command.
-q
-q
Same as "--quiet".
--force
--force
If this option is specified and files as the same name as the files output by the spvmdist
command are exists, the files are overwritten.
-f
-f
Same as "--force".
--native
--native <language>
Outputs a distribution for a native class specified in <language>
.
The default is c
.
The List of Option Values:
c
The C language.
c++
C++
--precompile
--precompile
Adds precompilation setting. If the class has precompilation methods, it is good to specify this option.
--only-lib-files
--only-lib-files
Output only files output to the lib
directory. These files are a SPVM class file (.spvm) and a Perl module file (.pm).
--no-pm-file
--no-pm-file
Dose not output a Perl module file (.pm).
--resource
--resource
Output a distribution for a resource.
--genlib
--genlib
Specifies both "--only-lib-files" and "--no-pm-file".
--user-name
--user-name <name>
Specifies the user name <name>
.
--user-email
--user-email <email>
Specifies the user email <email>
.
Copyright & License
Copyright 2023 Yuki Kimoto. All Rights Reserved.
MIT License.