spvmdist − Generating SPVM Distribution
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
−−version_from CLASS_NAME Add version_from
statement
"spvmdist" is the command to generate a SPVM distribution.
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.
−−help
Outputs how to use the "spvmdist" command to standard output.
−h
Same as "−−help".
−−version
Outputs the version of the "spvmdist" command to standard output. This version is the same as the version of SPVM.
−v
Same as "−−version".
−−quiet
Suppresses messages from the "spvmdist" command.
−q
Same as "−−quiet".
−−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
Same as "−−force".
−−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
Adds precompilation setting. If the class has precompilation methods, it is good to specify this option.
−−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
Dose not output a Perl module file (.pm).
−−resource
Output a distribution for a resource.
−−genlib
Specifies both "−−only−lib−files" and "−−no−pm−file".
−−user−name NAME
Specifies the user name NAME.
−−user−email EMAIL
Specifies the user email EMAIL.
−−version_from CLASS_NAME
Add version_from statement given CLASS_NAME.
Copyright 2023 Yuki Kimoto. All Rights Reserved.
MIT License.