mirror of
https://github.com/TextureGroup/Texture.git
synced 2026-04-07 19:17:39 +00:00
Having a semi-colon between a method parameters list and a method
body is not not correct and is usually caused by a copy and paste
error while creating the method definition from its declaration.
Fixes the following compilation warnings when building with
-Wsemicolon-before-method-body (which is part of -Wextra):
ASPINRemoteImageDownloader.mm:230:85: error: semicolon before method body is ignored [-Werror,-Wsemicolon-before-method-body]
- (id <ASImageContainerProtocol>)synchronouslyFetchedCachedImageWithURL:(NSURL *)URL;
^
ASPINRemoteImageDownloader.mm:275:76: error: semicolon before method body is ignored [-Werror,-Wsemicolon-before-method-body]
completion:(ASImageDownloaderCompletion)completion;
^
2 errors generated.
Fixes applied to both code, examples and samples in documentation.
Texture Documentation
We use Jekyll to build the site using Markdown and host it on Github Pages.
Dependencies
Github Pages uses Jekyll to host a site and Jekyll has the following dependencies.
Mac OS X comes pre-installed with Ruby, but you may need to update RubyGems (via gem update --system).
Once you have RubyGems, use it to install bundler.
$ gem install bundler
$ cd gh-pages # Go to folder
$ bundle install # Might need sudo.
Run Jekyll Locally
Use Jekyll to serve the website locally (by default, at http://localhost:4000):
$ bundle exec jekyll serve [--incremental]
$ open http://localhost:4000/
For more, see https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/