-
Notifications
You must be signed in to change notification settings - Fork 0
/
launcher.sh
executable file
·78 lines (54 loc) · 1.77 KB
/
launcher.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/bin/zsh
##
# Command Examples
##
# Switch php version.
# launcher [php-version]
# Open a project.
# launcher [project-directory]
# Change php and open a project.
# Order of commands do not matter.
# launcher [project-directory] ['php-verion']
# Deploy a site with terminus on pantheon.
# Will deploy, updb, cim, cr per environment.
# launcher terminus.[site-name].[site-env]
# Build a site locally from Pantheon.
# launcher local.[site-name]
# Include function utilities.
cd "${0%/*}" && source 'include/utilities'
# Check that homebrew is installed.
cd "${0%/*}" && source 'include/homebrew-check'
# Check if user configuration settings have been updated.
cd "${0%/*}" && source '.updated'
# Warn user to migrate settings file if updated, before overwrite.
cd "${0%/*}" && source 'include/notification'
# Warn user to migrate settings file if updated, before overwrite.
cd "${0%/*}" && source 'include/migrate'
# Update user settings file.
cd "${0%/*}" && source 'include/overwrite'
# Setup php symlinks to work with launcher.
cd "${0%/*}" && source 'include/php-symlinks'
# Include variable defaults.
cd "${0%/*}" && source 'include/defaults'
# Options and parameters detection.
cd "${0%/*}" && source 'include/options-parameters'
# Help.
cd "${0%/*}" && source 'include/help'
# Php change.
cd "${0%/*}" && source 'include/phpchange'
# Kill.
cd "${0%/*}" && source 'include/kill'
# Open.
cd "${0%/*}" && source 'include/open-project'
# Automated website updates.
# cd "${0%/*}" && source 'include/updates'
# Local.
cd "${0%/*}" && source 'include/local'
# Run terminus deployment.
cd "${0%/*}" && source 'include/terminus'
# Aliases search.
cd "${0%/*}" && source 'include/aliases'
# Drush.
# cd "${0%/*}" && source 'include/drush'
# Docker.
cd "${0%/*}" && source 'include/docker'