mirror of
git://git.proxmox.com/git/perlmod.git
synced 2025-01-08 01:17:41 +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 {
|
mod export {
|
||||||
use anyhow::Error;
|
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 {
|
mod export {
|
||||||
use perlmod::{Error, Value};
|
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 {
|
mod export {
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ enum AnEnum {
|
|||||||
ResultB,
|
ResultB,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[perlmod::package(name = "RSPM::Foo142", lib = "perlmod_test")]
|
#[perlmod::package(name = "RSPM::Foo142", lib = "perlmod_test", write = true)]
|
||||||
mod export {
|
mod export {
|
||||||
use anyhow::{bail, Error};
|
use anyhow::{bail, Error};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user