-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathRakefile
26 lines (24 loc) · 820 Bytes
/
Rakefile
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
desc "Compile scripts to .scpt files"
task :compile do
puts "Compiling center.applescript..."
system "osacompile -o center.scpt center.applescript"
puts "Compiling center.applescript..."
system "osacompile -o maximize.scpt maximize.applescript"
puts "Done"
puts
end
desc "Install scripts to your scripts folder"
task :install => :compile do
puts "Copying scripts to your scripts folder"
system "cp *.scpt ~/Library/Scripts"
puts "Done"
puts
end
desc "Download and mount FastScripts"
task :install_fastscripts do
system "curl http://www.red-sweater.com/fastscripts/FastScriptsLite2.3.6.dmg > FastScripts.dmg"
system "hdiutil attach FastScripts.dmg"
puts "FastScripts Lite is now mounted in your system. Opening the folder..."
sleep 1
system "open \"/Volumes/FastScripts Lite 2.3.6\""
end