Created
February 11, 2014 18:31
-
-
Save jonchretien/8941035 to your computer and use it in GitHub Desktop.
Copies local files to Dropbox folder.
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
# set aliases | |
DIST = \ | |
~/Dropbox\ \(Company\)/Public/www | |
DIRS = \ | |
css/ js/ less/ | |
# copy files & directories (exluding lib) | |
copy: | |
cp *.html $(DIST)/project-name/ | |
for dir in $(DIRS) ; do \ | |
cp -r $$dir $(DIST)/project-name/$$dir ; \ | |
done | |
@echo "Finished copying files and directories." | |
# copy lib directories | |
copy-lib: | |
cp -r bower_components/ $(DIST)/project-name/bower_components/ | |
@echo "Finished copying lib directories." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment