summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml1
-rw-r--r--Cargo.toml7
-rwxr-xr-xscripts/prep-librewolf-dpkg.sh11
3 files changed, 7 insertions, 12 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5628f8b..a2e73ab 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,7 +18,6 @@ variables:
paths:
- "./**/librewolf*.dsc"
- "./**/librewolf*.xz"
- - "./**/Cargo.toml"
.prepare_ubuntu: &prepare_ubuntu
variables:
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..0e6a1bc
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,7 @@
+[package]
+name = "debian"
+version = "0.1.0"
+edition = "2018"
+
+[dependencies]
+cbindgen = "0.19.0"
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh
index 75c0eb1..b6c2e5e 100755
--- a/scripts/prep-librewolf-dpkg.sh
+++ b/scripts/prep-librewolf-dpkg.sh
@@ -96,17 +96,6 @@ cd "${debian_dir}"
patch -Np1 -i "${CI_PROJECT_DIR}"/cbindgen.patch
cd "${work_dir}"
-cat <<'EOF' >> "${debian_dir}"/Cargo.toml
-[package]
-name = "debian"
-version = "0.1.0"
-edition = "2018"
-
-[dependencies]
-cbindgen = "0.19.0"
-EOF
-
-
# update debian/control file
# update fields and add libjack-dev
sed -i -r "${debian_dir}"/control \
bgstack15