Revert "move apt to /perl-apt, use PERLMOD_PRODUCT env var"

This reverts commit 9bc3ab23cb.

This is not the way we're going to organize common code.
This commit is contained in:
Wolfgang Bumiller 2022-02-28 12:01:24 +01:00
parent ba6812a109
commit 15c39cb258
6 changed files with 3 additions and 6 deletions

View File

@ -1,5 +1,5 @@
[workspace]
exclude = [ "build", "perl-*" ]
exclude = [ "build" ]
members = [
"pve-rs",
"pmg-rs",

View File

@ -26,7 +26,6 @@ pve pmg:
build:
mkdir build
echo system >build/rust-toolchain
cp -a ./perl-* ./build/
cp -a ./pve-rs ./build
cp -a ./pmg-rs ./build

View File

@ -1,4 +1,4 @@
#[perlmod::package(name = "${PERLMOD_PRODUCT}::RS::APT::Repositories")]
#[perlmod::package(name = "PVE::RS::APT::Repositories", lib = "pve_rs")]
mod export {
use std::convert::TryInto;

View File

@ -1,8 +1,6 @@
//! Rust library for the Proxmox VE code base.
#[path = "../../perl-apt/mod.rs"]
pub mod apt;
pub mod openid;
pub mod tfa;
pub mod calendar_event;

View File

@ -1,4 +1,4 @@
#[perlmod::package(name = "${PERLMOD_PRODUCT}::RS::OpenId")]
#[perlmod::package(name = "PVE::RS::OpenId", lib = "pve_rs")]
mod export {
use std::sync::Mutex;
use std::convert::TryFrom;