Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

upgrading 0.5

laher edited this page Mar 24, 2013 · 2 revisions

Upgrading to version 0.5

There are significant changes between version 0.3 and 0.5.

BUT, if you haven't been using a configuration file you don't need to change anything. Just be aware that goxc will now run go test (and vet, install) on your code before cross-compiling.

Breaking changes

  1. Tasks are more granular now. If you specified tasks in your config file or commandline, please review them using goxc -help tasks.
  2. Some configuration-file entries (e.g. 'Artifact Types' and 'Codesign') have been removed, in favour of tasks and per-task configuration.

If your configuration file is affected by these changes, goxc will fail with an error message asking you to review your config.

If your configuration specified tasks or ArtifactTypes, you can exclude tasks instead, but it's probably easiest to simply start again: rename your config file and use -wc to generate a new one.

Please see config details for documentation of the latest config files.

A positive note

There are several improvements to justify the changes (e.g. your code is tested before being built!), and now the codebase is more flexible for future developments.

Please see the changelog for more info.