forked from alessandrogerbini/Gatherers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevelop.sh
executable file
·52 lines (41 loc) · 1.23 KB
/
develop.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
#!/bin/sh
# Launches development environment stuff
osascript <<-eof
set app_directory to "~/typeish_clients/granola/"
tell application "iTerm"
set staticterm to (make new terminal)
tell staticterm
launch session "Default session"
tell the last session
set name to "staples server"
write text "cd " & app_directory
write text "staples runserver"
end tell
launch session "Default session"
tell the last session
set name to "staples watcher"
write text "cd " & app_directory
write text "workon aym"
write text "staples watch"
end tell
launch session "Default session"
tell the last session
set name to "Compass"
write text "cd " & app_directory
write text "compass watch --sass-dir content/sass/ --css-dir content/media_includes/ -s compact"
end tell
launch session "Default session"
tell the last session
set name to "CoffeeScript"
write text "cd " & app_directory
write text "coffee -o content/media_includes/ -w -c content/coffee/*.coffee"
end tell
launch session "Default session"
tell the last session
set name to "Livereload"
write text "cd " & app_directory
write text "livereload"
end tell
end tell
end tell
eof