mirror of
git://git.proxmox.com/git/perlmod.git
synced 2025-01-04 13:17:39 +03:00
test: write modules at build time
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
40d6ec96ea
commit
218a1daf26
@ -1,4 +1,4 @@
|
||||
#[perlmod::package(name = "RSPM::Bless", lib = "perlmod_test")]
|
||||
#[perlmod::package(name = "RSPM::Bless", lib = "perlmod_test", write = true)]
|
||||
mod export {
|
||||
use anyhow::Error;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#[perlmod::package(name = "RSPM::Magic", lib = "perlmod_test")]
|
||||
#[perlmod::package(name = "RSPM::Magic", lib = "perlmod_test", write = true)]
|
||||
mod export {
|
||||
use perlmod::{Error, Value};
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#[perlmod::package(name = "RSPM::Option", lib = "perlmod_test")]
|
||||
#[perlmod::package(name = "RSPM::Option", lib = "perlmod_test", write = true)]
|
||||
mod export {
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
|
@ -21,7 +21,7 @@ enum AnEnum {
|
||||
ResultB,
|
||||
}
|
||||
|
||||
#[perlmod::package(name = "RSPM::Foo142", lib = "perlmod_test")]
|
||||
#[perlmod::package(name = "RSPM::Foo142", lib = "perlmod_test", write = true)]
|
||||
mod export {
|
||||
use anyhow::{bail, Error};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user