chore(makefile): add bootstrap targets for normal use and CI environments

This commit is contained in:
2021-06-20 19:00:47 +01:00
parent 72ca9ce2b6
commit 87d2d67575
3 changed files with 21 additions and 0 deletions

3
Brewfile.ci Normal file
View File

@@ -0,0 +1,3 @@
# frozen_string_literal: true
brew 'python'

View File

@@ -1,3 +1,4 @@
PIP := $(shell command -v pip3 || command -v pip)
SOURCES := $(shell \
find * \
-not -path 'sources/*' \
@@ -40,6 +41,22 @@ SHELL := env \
# Default target
.DEFAULT_GOAL := build
#
# Bootstrap
#
bootstrap: bootstrap-brew
bootstrap-ci: bootstrap-brew bootstrap-brew-ci bootstrap-pip
bootstrap-brew:
brew bundle
bootstrap-brew-ci:
brew bundle --file Brewfile.ci
bootstrap-pip:
$(PIP) install -r requirements-ci.txt
#
# Tools
#

1
requirements-ci.txt Normal file
View File

@@ -0,0 +1 @@
dmgbuild