aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2024-03-11 23:22:17 +0100
committerRuben Beltran del Rio <git@r.bdr.sh>2024-03-11 23:22:17 +0100
commit5c7a9258a11d387f33209e07ca7d3271ba8e2a06 (patch)
tree5d7517c298e7f76559ae34f596017c76a8272786
parent71d4bd72b7474ec78fae764ecdb57ee97051ecbd (diff)
Set rust
-rw-r--r--.build.yml3
-rw-r--r--Makefile5
2 files changed, 7 insertions, 1 deletions
diff --git a/.build.yml b/.build.yml
index e1af0ce..7716c57 100644
--- a/.build.yml
+++ b/.build.yml
@@ -11,6 +11,9 @@ secrets:
- 89d3b676-25d6-4942-8231-38b73aa62bf6
- 0b0d3e5e-fbdc-41d0-97ed-ee654fe797ff
tasks:
+ - set_rust: |
+ cd blog
+ make set_rust
- package: |
cd blog
make -e profile=release package
diff --git a/Makefile b/Makefile
index 1be8bee..8f2acec 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,9 @@ architectures := x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu
default: build
+set_rust:
+ rustup default stable
+
prepare:
rustup target add $(target)
@@ -17,4 +20,4 @@ rpm: build
package: $(architectures)
-.PHONY: default build $(architectures) rpm package prepare
+.PHONY: default build $(architectures) rpm package prepare set_rust