Compiles before publishing.