diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 96ef6c0b..00000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/target -Cargo.lock diff --git a/Makefile b/Makefile deleted file mode 100644 index 6d738f27..00000000 --- a/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -.PHONY: all -all: check - -.PHONY: check -check: - cargo test --all-features - -.PHONY: dinstall -dinstall: deb - sudo -k dpkg -i build/librust-*.deb - -.PHONY: build -build: - rm -rf build - rm -f debian/control - mkdir build - debcargo package \ - --config "$(PWD)/debian/debcargo.toml" \ - --changelog-ready \ - --no-overlay-write-back \ - --directory "$(PWD)/build/proxmox-acme-rs" \ - "proxmox-acme-rs" \ - "$$(dpkg-parsechangelog -l "debian/changelog" -SVersion | sed -e 's/-.*//')" - echo system >build/rust-toolchain - rm -f build/proxmox-acme-rs/Cargo.lock - find build/proxmox-acme-rs/debian -name '*.hint' -delete - cp build/proxmox-acme-rs/debian/control debian/control - -.PHONY: deb -deb: build - (cd build/proxmox-acme-rs && CARGO=/usr/bin/cargo RUSTC=/usr/bin/rustc dpkg-buildpackage -b -uc -us) - lintian build/*.deb - -.PHONY: clean -clean: - rm -rf build *.deb *.buildinfo *.changes *.orig.tar.gz - cargo clean - -upload: deb - cd build; \ - dcmd --deb rust-proxmox-acme-rs_*.changes \ - | grep -v '.changes$$' \ - | tar -cf "rust-proxmox-acme-rs-debs.tar" -T-; \ - cat "rust-proxmox-acme-rs-debs.tar" | ssh -X repoman@repo.proxmox.com upload --product devel --dist bullseye; \ - rm -f rust-proxmox-acme-rs-debs.tar diff --git a/Cargo.toml b/proxmox-acme/Cargo.toml similarity index 100% rename from Cargo.toml rename to proxmox-acme/Cargo.toml diff --git a/debian/changelog b/proxmox-acme/debian/changelog similarity index 100% rename from debian/changelog rename to proxmox-acme/debian/changelog diff --git a/debian/control b/proxmox-acme/debian/control similarity index 100% rename from debian/control rename to proxmox-acme/debian/control diff --git a/debian/copyright b/proxmox-acme/debian/copyright similarity index 100% rename from debian/copyright rename to proxmox-acme/debian/copyright diff --git a/debian/debcargo.toml b/proxmox-acme/debian/debcargo.toml similarity index 100% rename from debian/debcargo.toml rename to proxmox-acme/debian/debcargo.toml diff --git a/debian/source/format b/proxmox-acme/debian/source/format similarity index 100% rename from debian/source/format rename to proxmox-acme/debian/source/format diff --git a/rustfmt.toml b/proxmox-acme/rustfmt.toml similarity index 100% rename from rustfmt.toml rename to proxmox-acme/rustfmt.toml diff --git a/src/account.rs b/proxmox-acme/src/account.rs similarity index 100% rename from src/account.rs rename to proxmox-acme/src/account.rs diff --git a/src/authorization.rs b/proxmox-acme/src/authorization.rs similarity index 100% rename from src/authorization.rs rename to proxmox-acme/src/authorization.rs diff --git a/src/b64u.rs b/proxmox-acme/src/b64u.rs similarity index 100% rename from src/b64u.rs rename to proxmox-acme/src/b64u.rs diff --git a/src/client.rs b/proxmox-acme/src/client.rs similarity index 100% rename from src/client.rs rename to proxmox-acme/src/client.rs diff --git a/src/directory.rs b/proxmox-acme/src/directory.rs similarity index 100% rename from src/directory.rs rename to proxmox-acme/src/directory.rs diff --git a/src/eab.rs b/proxmox-acme/src/eab.rs similarity index 100% rename from src/eab.rs rename to proxmox-acme/src/eab.rs diff --git a/src/error.rs b/proxmox-acme/src/error.rs similarity index 100% rename from src/error.rs rename to proxmox-acme/src/error.rs diff --git a/src/json.rs b/proxmox-acme/src/json.rs similarity index 100% rename from src/json.rs rename to proxmox-acme/src/json.rs diff --git a/src/jws.rs b/proxmox-acme/src/jws.rs similarity index 100% rename from src/jws.rs rename to proxmox-acme/src/jws.rs diff --git a/src/key.rs b/proxmox-acme/src/key.rs similarity index 100% rename from src/key.rs rename to proxmox-acme/src/key.rs diff --git a/src/lib.rs b/proxmox-acme/src/lib.rs similarity index 100% rename from src/lib.rs rename to proxmox-acme/src/lib.rs diff --git a/src/order.rs b/proxmox-acme/src/order.rs similarity index 100% rename from src/order.rs rename to proxmox-acme/src/order.rs diff --git a/src/request.rs b/proxmox-acme/src/request.rs similarity index 100% rename from src/request.rs rename to proxmox-acme/src/request.rs diff --git a/src/util.rs b/proxmox-acme/src/util.rs similarity index 100% rename from src/util.rs rename to proxmox-acme/src/util.rs