This file contains hidden or 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
| #!/bin/bash -x | |
| # Deploy a jekyll site to a s3 bucket with gzip compression of html/js/css files | |
| # | |
| # To use - place in your root directory of your jekyll | |
| # site, and edit the BUCKET="<YOUR_S3_BUCKET>" variable at the top | |
| # to reflect the S3 bucket you're uploading to. | |
| # | |
| # You will need to have jekyll, and s3cmd already setup | |
| # (and it relies upon standard *nix utilities like find, |
This file contains hidden or 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
| # Pre-requsites: | |
| # X-code 5.0.1 with command line tools | |
| # Homebrew, homebrew python, homebrew pip | |
| export CFLAGS="-arch i386 -arch x86_64" | |
| export FFLAGS="-m32 -m64" | |
| export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch i386 -arch x86_64" | |
| export CC=gcc-4.2 | |
| export CXX="g++ -arch i386 -arch x86_64" | |
| brew install gfortran |
NewerOlder