mirror of
https://github.com/jimeh/build-emacs-for-macos.git
synced 2026-02-19 02:36:39 +00:00
chore(makefile): add bootstrap targets for normal use and CI environments
This commit is contained in:
3
Brewfile.ci
Normal file
3
Brewfile.ci
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
brew 'python'
|
||||||
17
Makefile
17
Makefile
@@ -1,3 +1,4 @@
|
|||||||
|
PIP := $(shell command -v pip3 || command -v pip)
|
||||||
SOURCES := $(shell \
|
SOURCES := $(shell \
|
||||||
find * \
|
find * \
|
||||||
-not -path 'sources/*' \
|
-not -path 'sources/*' \
|
||||||
@@ -40,6 +41,22 @@ SHELL := env \
|
|||||||
# Default target
|
# Default target
|
||||||
.DEFAULT_GOAL := build
|
.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
|
# Tools
|
||||||
#
|
#
|
||||||
|
|||||||
1
requirements-ci.txt
Normal file
1
requirements-ci.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
dmgbuild
|
||||||
Reference in New Issue
Block a user