-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '73-remove-old-drupal-targets' into 'master'
Resolve "Old drupal targets (pre-lando) need to be removed" Closes #73 See merge request consensus.enterprises/drumkit!41
- Loading branch information
Showing
20 changed files
with
11 additions
and
399 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,39 @@ | ||
local_OS ?= $(shell uname) | ||
ifeq ($(shell whoami),root) | ||
SUDO= | ||
else | ||
SUDO=sudo | ||
endif | ||
|
||
|
||
|
||
deps: apt-update mysql-server | ||
|
||
mysql-server: apt-update | ||
ifeq ($(local_OS), Linux) | ||
@echo Installing MySQL server | ||
@echo 'mysql-server mysql-server/root_password password' | $(SUDO) debconf-set-selections | ||
@echo 'mysql-server mysql-server/root_password_again password' | $(SUDO) debconf-set-selections | ||
@$(SUDO) DEBIAN_FRONTEND=noninteractive apt-get -y -qq install mysql-server | ||
endif | ||
|
||
apt-update: | ||
ifeq ($(local_OS), Linux) | ||
@echo Updating apt | ||
@$(SUDO) DEBIAN_FRONTEND=noninteractive apt-get update -qq | ||
endif | ||
|
||
deps-python: apt-update | ||
ifeq ($(local_OS), Linux) | ||
@echo Ensuring python dependencies are installed. | ||
@$(SUDO) DEBIAN_FRONTEND=noninteractive apt-get install -y -qq python3-minimal python3-pip python3-yaml python3-jinja2 | ||
@$(SUDO) update-alternatives --install /usr/bin/python python /usr/bin/python3 1 | ||
endif | ||
|
||
deps-php: apt-update | ||
ifeq ($(local_OS), Linux) | ||
@echo Ensuring PHP dependencies are installed. | ||
@$(SUDO) DEBIAN_FRONTEND=noninteractive apt-get install -y -qq php-cli php-mbstring php-curl php-xml php-gd unzip tree | ||
endif | ||
|
||
# vi:syntax=makefile |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.