Created
March 6, 2014 09:46
-
-
Save kmelve/9386311 to your computer and use it in GitHub Desktop.
AppleScript for uploading changes after CodeKit compiles. From https://github.com/bdkjones/codekit2beta/issues/273#issuecomment-36380800
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
tell application "Transmit" | |
set myFave to item 1 of (favorites whose name is "NameOfFavorite") | |
set myRules to (skip rules whose name is "codekit") | |
tell current tab of (make new document at end) | |
connect to myFave | |
change location of local browser to path "~/Codekit/Projekt" | |
change location of remote browser to path "domains/domain/assets" | |
synchronize local browser to remote browser using skip rules myRules | |
close remote browser | |
close | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment