vigour-io / packer-server

Asset manager for native wrapped application
0 stars 1 forks source link

Building for native #18

Closed shawninder closed 8 years ago

shawninder commented 8 years ago

I believe the plan is have a service running on the server build the apps for native. This means the server would need to have all the appropriate SDKs installed for all platforms... I think we should find a different way to do this where building can be done on the developer's machine...

shawninder commented 8 years ago

I made a new flag (--native.builds) in vigour-wrapper, allowing one to build only the web technology files and skip all the real native stuff (with --native.builds false). So you get html, css and js, but you don't get splash screens, app icons, or any other platform specific stuff like plist.info, AndroidManifest.xml, etc. This way, npm run build can build all assets that need to be served to native devices without having to build the actual native builds, and without needing to have all the sdks installed. This is a little weird, but I think it solves the issue.