From 5d305307feb231f3f9e29ac9e393007ac44466c3 Mon Sep 17 00:00:00 2001 From: Carsten Grohmann Date: Tue, 8 Dec 2020 11:21:34 +0100 Subject: [PATCH] Restructure build recipe --- .build.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.build.yml b/.build.yml index 51041fa..ae9998b 100644 --- a/.build.yml +++ b/.build.yml @@ -27,22 +27,17 @@ sources: - https://git.sr.ht/~carstengrohmann/OOMAnalyser shell: null tasks: - - setup: | - cd OOMAnalyser - make venv + - setup_pkgs: | git clone https://aur.archlinux.org/rollup.git cd rollup makepkg --noconfirm -si - - setup_py37: | - cd OOMAnalyser + cd .. git clone https://aur.archlinux.org/python37.git cd python37 makepkg --noconfirm -si --skippgpcheck - cd .. - # create virtualenv for Python 3.7 - make venv-clean - virtualenv3 -p /usr/bin/python3.7 env - env/bin/pip install -Ur requirements.txt + - setup_venv: | + cd OOMAnalyser + make venv - build: | cd OOMAnalyser make build