mirror of
https://git.proxmox.com/git/proxmox-perl-rs
synced 2025-07-27 14:50:45 +00:00
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:
parent
ba6812a109
commit
15c39cb258
@ -1,5 +1,5 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
exclude = [ "build", "perl-*" ]
|
exclude = [ "build" ]
|
||||||
members = [
|
members = [
|
||||||
"pve-rs",
|
"pve-rs",
|
||||||
"pmg-rs",
|
"pmg-rs",
|
||||||
|
1
Makefile
1
Makefile
@ -26,7 +26,6 @@ pve pmg:
|
|||||||
build:
|
build:
|
||||||
mkdir build
|
mkdir build
|
||||||
echo system >build/rust-toolchain
|
echo system >build/rust-toolchain
|
||||||
cp -a ./perl-* ./build/
|
|
||||||
cp -a ./pve-rs ./build
|
cp -a ./pve-rs ./build
|
||||||
cp -a ./pmg-rs ./build
|
cp -a ./pmg-rs ./build
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#[perlmod::package(name = "${PERLMOD_PRODUCT}::RS::APT::Repositories")]
|
#[perlmod::package(name = "PVE::RS::APT::Repositories", lib = "pve_rs")]
|
||||||
mod export {
|
mod export {
|
||||||
use std::convert::TryInto;
|
use std::convert::TryInto;
|
||||||
|
|
@ -1,8 +1,6 @@
|
|||||||
//! Rust library for the Proxmox VE code base.
|
//! Rust library for the Proxmox VE code base.
|
||||||
|
|
||||||
#[path = "../../perl-apt/mod.rs"]
|
|
||||||
pub mod apt;
|
pub mod apt;
|
||||||
|
|
||||||
pub mod openid;
|
pub mod openid;
|
||||||
pub mod tfa;
|
pub mod tfa;
|
||||||
pub mod calendar_event;
|
pub mod calendar_event;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#[perlmod::package(name = "${PERLMOD_PRODUCT}::RS::OpenId")]
|
#[perlmod::package(name = "PVE::RS::OpenId", lib = "pve_rs")]
|
||||||
mod export {
|
mod export {
|
||||||
use std::sync::Mutex;
|
use std::sync::Mutex;
|
||||||
use std::convert::TryFrom;
|
use std::convert::TryFrom;
|
||||||
|
Loading…
Reference in New Issue
Block a user