Skip to content

Instantly share code, notes, and snippets.

@lucholaf
Last active September 5, 2016 15:06
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucholaf/e37f4d26e406250a156a to your computer and use it in GitHub Desktop.
Save lucholaf/e37f4d26e406250a156a to your computer and use it in GitHub Desktop.
Xcode pre-action: generate Swift FAT file to reduce compilation time, since it's faster to recompile the whole source code in a single file
> $PROJECT_DIR/merge.swift; find $PROJECT_DIR/ -iname *.swift -not -name merge.swift -exec cat {} >> $PROJECT_DIR/merge.swift \;
@juliantejera
Copy link

Did it reduce your compile time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment