diff --git a/Brewfile.ci b/Brewfile.ci new file mode 100644 index 0000000..638e9f6 --- /dev/null +++ b/Brewfile.ci @@ -0,0 +1,3 @@ +# frozen_string_literal: true + +brew 'python' diff --git a/Makefile b/Makefile index dfb3a8a..a3351b1 100644 --- a/Makefile +++ b/Makefile @@ -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 # diff --git a/requirements-ci.txt b/requirements-ci.txt new file mode 100644 index 0000000..18ee57f --- /dev/null +++ b/requirements-ci.txt @@ -0,0 +1 @@ +dmgbuild