nannou-org/nannou

Provide an easy way of generating universal binaries for each platform

Open

#450 ouverte le 15 févr. 2020

Voir sur GitHub
 (1 commentaire) (2 réactions) (0 assignés)Rust (254 forks)batch import
good first issueuser experience

Métriques du dépôt

Stars
 (4 662 stars)
Métriques de merge PR
 (Merge moyen 24j 15h) (26 PRs mergées en 30 j)

Description

It would be great if there was an easy way to package nannou exes into easily distributable apps. Perhaps nannou-package could be progressively enhanced to be capable of doing this.

It will likely be the case that users will only be able to generate apps for the platform they are currently building on, however it may be possible to cross-compile and build for other targets in some cases.

  • Determine what universal binary format we should target on each platform. E.g. .app fat binary on macOS, perhaps AppImage on Linux, not sure about Windows.
  • Determine what the process is for building each of these. I believe macOS requires xcode to do this. I would imagine AppImage is easy on Linux. Not sure about Windows.
  • Investigate how other Rust libraries/frameworks currently approach this. See if there are already efforts at automating this process.
  • Add a section to the guide so that users can easily find out how to do this manually in the meantime.
  • Automate the process where possible within nannou-package.
  • Investigate process for iOS and Android. Better to address #444 first.

Guide contributeur