Skip to content

Instantly share code, notes, and snippets.

@JoshEllinger
Last active April 13, 2016 21:30
Show Gist options
  • Save JoshEllinger/81fdb098055405265082 to your computer and use it in GitHub Desktop.
Save JoshEllinger/81fdb098055405265082 to your computer and use it in GitHub Desktop.
Steps to package a file (you need to run these on each build target machine 1x for mac, 1x for linux etc.)
  1. Install npm package locally
npm install
  1. Install bower locally
bower install
  1. Change the View version to be the latest version using the version command (in this case 1.0.0)
gulp version --version=1.0.0
  1. Package the release on the correct OS (build target is mac or linux depending on the machine you are packaging from. You need to be on the OS you are packaging when you run these commands.)
gulp build
gulp cook
gulp package --buildTarget=mac
  1. Move pre-packaged builds to proper destination.
  • they are by default created in the folder packages/{version-number}/{packagename.tar.gz} in the project root.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment