summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-17 20:47:03 +0000
committeraur-build <aur-build@localhost>2026-11-17 20:47:03 +0000
commit3762c7ce9f765283f47e5716b708e04590339375 (patch)
tree59a2ceab670824c11cc2822363aff2ea887c5f9f /src
downloadaur-build-3762c7ce9f765283f47e5716b708e04590339375.tar.gz
aur-build-3762c7ce9f765283f47e5716b708e04590339375.zip
chore: scaffold cargo project, toolchain shim binaries, git baseline
Provisions rustup + devtools from the distro package set and lays down the crate skeleton: library, CLI binary, and one binary per external tool the pipeline shells out to (mkarchroot, makechrootpkg, makepkg, repo-add, gpg, pacman) so the §16a PATH shims are real executables that cargo builds and tests can locate via CARGO_BIN_EXE_*. Part of P0 (DESIGN.md §17).
Diffstat (limited to 'src')
-rw-r--r--src/bin/gpg.rs1
-rw-r--r--src/bin/makechrootpkg.rs1
-rw-r--r--src/bin/makepkg.rs1
-rw-r--r--src/bin/mkarchroot.rs1
-rw-r--r--src/bin/pacman.rs1
-rw-r--r--src/bin/repo-add.rs1
-rw-r--r--src/lib.rs1
-rw-r--r--src/main.rs3
8 files changed, 10 insertions, 0 deletions
diff --git a/src/bin/gpg.rs b/src/bin/gpg.rs
new file mode 100644
index 0000000..1c84fe2
--- /dev/null
+++ b/src/bin/gpg.rs
@@ -0,0 +1 @@
+fn main() { eprintln!("shim: gpg (not implemented)"); std::process::exit(70); }
diff --git a/src/bin/makechrootpkg.rs b/src/bin/makechrootpkg.rs
new file mode 100644
index 0000000..4043161
--- /dev/null
+++ b/src/bin/makechrootpkg.rs
@@ -0,0 +1 @@
+fn main() { eprintln!("shim: makechrootpkg (not implemented)"); std::process::exit(70); }
diff --git a/src/bin/makepkg.rs b/src/bin/makepkg.rs
new file mode 100644
index 0000000..9b3411b
--- /dev/null
+++ b/src/bin/makepkg.rs
@@ -0,0 +1 @@
+fn main() { eprintln!("shim: makepkg (not implemented)"); std::process::exit(70); }
diff --git a/src/bin/mkarchroot.rs b/src/bin/mkarchroot.rs
new file mode 100644
index 0000000..f7c12e8
--- /dev/null
+++ b/src/bin/mkarchroot.rs
@@ -0,0 +1 @@
+fn main() { eprintln!("shim: mkarchroot (not implemented)"); std::process::exit(70); }
diff --git a/src/bin/pacman.rs b/src/bin/pacman.rs
new file mode 100644
index 0000000..bdcb13b
--- /dev/null
+++ b/src/bin/pacman.rs
@@ -0,0 +1 @@
+fn main() { eprintln!("shim: pacman (not implemented)"); std::process::exit(70); }
diff --git a/src/bin/repo-add.rs b/src/bin/repo-add.rs
new file mode 100644
index 0000000..87abfd2
--- /dev/null
+++ b/src/bin/repo-add.rs
@@ -0,0 +1 @@
+fn main() { eprintln!("shim: repo-add (not implemented)"); std::process::exit(70); }
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..77aa7d7
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1 @@
+//! AUR Build Server — see DESIGN.md.
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..0ea8a90
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,3 @@
+fn main() {
+ println!("aur-build");
+}