-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.recipe
executable file
·75 lines (62 loc) · 1.63 KB
/
install.recipe
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
git "Retrieving global git configuration"; do
repository "https://github.com/CaptainQuirk/.gitglobal.git"
destination "$CONFIG_SRC_DIR/.gitglobal"
enable-submodules true
done
link "Symlinking global gitconfig"; do
target "$CONFIG_SRC_DIR/.gitglobal/gitconfig"
to "$HOME/.gitconfig"
force true
done
link "Symlinking global gitignore"; do
target "$CONFIG_SRC_DIR/.gitglobal/gitignore"
to "$HOME/.gitignore"
force true
done
brew "Installing git flow"; do
package "git-flow"
done
brew "Installing tig viewer"; do
package "tig"
done
git "Retrieving tig configuration"; do
repository "https://github.com/CaptainQuirk/.tig.git"
destination "$CONFIG_SRC_DIR/.tig"
enable-submodules true
done
link "Symlinking tigrc configuration file"; do
target "$CONFIG_SRC_DIR/.tig/tigrc"
to "$HOME/.tigrc"
force true
done
file "Copying tig wrapper script"; do
source "$RECIPE_DIR/files/tig-wrapper"
path "/usr/local/bin/tig-wrapper"
update true
sudo true
done
file "Copying git icon for tig"; do
source "$RECIPE_DIR/files/git.png"
path "$HOME/.local/share/icons/git.png"
update true
done
file "Copying .desktop file for tig"; do
source "$RECIPE_DIR/files/tig.desktop"
path "$HOME/.local/share/applications/tig.desktop"
update true
done
file "Copying tig-wrapper to PATH"; do
source "$RECIPE_DIR/files/tig-wrapper"
path "/usr/local/bin/tig-wrapper"
update true
sudo true
done
brew "Installing git-extras"; do
package "git-extras"
done
brew "Installing git-cal"; do
package "git-cal"
done
npm "Installing git-open"; do
package "git-open"
done