Commit Graph

40 Commits

Author SHA1 Message Date
Avital Oliver
089c6fad21 Remove now unused upload-packages-to-s3.sh 2013-03-19 15:11:08 -07:00
Avital Oliver
4aa1201d9f Publish release 2013-03-19 15:11:08 -07:00
Avital Oliver
850aea71ae Generate release manifest 2013-03-19 15:11:08 -07:00
Avital Oliver
84927fab91 Build package tarballs 2013-03-19 15:11:07 -07:00
Avital Oliver
fe003150bc Generate engine version by hashing files 2013-03-19 15:11:07 -07:00
Avital Oliver
1196c6a247 Fix spark-standalone.sh 2013-03-19 15:11:07 -07:00
Avital Oliver
55bfce0de2 'meteor test-packages' improvements:
- Allow testing a package directory in isolation
- Allow specifying a release version to use while running
  tests
2013-03-19 15:11:07 -07:00
Avital Oliver
28af50e403 More of Glasser's code review comments 2013-03-19 15:11:07 -07:00
Avital Oliver
00c5391961 Simplify code in response to Glasser's code review 2013-03-19 15:11:07 -07:00
Avital Oliver
1b3c83977c upload-packages-to-s3.sh no longer uploads the .npm directory 2013-03-19 15:11:07 -07:00
Avital Oliver
54859e86d6 Fetch NPM dependencies when loading meteor release
You can now be offline to use any package that's been installed
2013-03-19 15:11:07 -07:00
Avital Oliver
4bae4116e9 'meteor --version' prints release version.
- If you're in an app, prints the release that app is pinned to.
- If you're outside of an app, prints the latest release stored in
  the warehouse.
- If none are found, print only an engine version (XXX is this correct?)
2013-03-19 15:11:07 -07:00
Avital Oliver
8fdb40c58b tools/run-all-tests.sh now also tests a fake installed version of meteor 2013-03-19 15:11:07 -07:00
Avital Oliver
d730b9f658 tools/run-all-tests.sh and some related clarifications 2013-03-19 15:11:06 -07:00
David Glasser
3be4c74ac9 Return a better error if downloading the bootstrap tarball fails. 2013-03-19 15:11:06 -07:00
David Glasser
9245b9692a Don't strip on Mac. 2013-03-19 15:11:06 -07:00
David Glasser
a60dfc1684 strip our binaries
on linux, building the packages did this but we're not doing this any more.

i got the linux line from 'dh_strip' and the mac line from 'man strip'
2013-03-19 15:11:06 -07:00
David Glasser
dea41c3e01 - install to /usr/local/bin/meteor
- chmod 755 not 775
2013-03-19 15:11:06 -07:00
David Glasser
7344ba52d8 indentation 2013-03-19 15:11:06 -07:00
David Glasser
8158acfe37 install.meteor.com script generator 2013-03-19 15:11:06 -07:00
David Glasser
452f71d7cf Script to be installed in /usr/bin 2013-03-19 15:11:06 -07:00
Avital Oliver
e76e76dd66 build-engine-tarballs.sh 2013-03-19 15:11:06 -07:00
Avital Oliver
cb64708cae CURRENT_VERSION -> ENGINE_VERSION 2013-03-19 15:11:05 -07:00
David Glasser
575e194528 Script that generates an engine install tree. 2013-03-19 15:11:05 -07:00
Avital Oliver
274e1dc921 Simple script to upload packages to packages.meteor.com 2013-03-19 15:11:05 -07:00
Avital Oliver
7a41a1ab4e move script into tools 2013-03-19 15:11:05 -07:00
Avital Oliver
49fccc593a minor improvement to cli-test.sh 2013-03-19 15:11:04 -07:00
Avital Oliver
5a0a4f5ab0 npm dependencies at bundle time
- package.js now has a top-level 'Npm.depends' directive
- both bundle-time and server run-time code can get access
  to any dependent npm module with 'Npm.require'
2013-03-19 15:11:04 -07:00
Avital Oliver
5baac15fc0 Make npm bundling safe to be run in parallel
Instead of modifying the contents of the .npm directory
inside a package directory, construct a new temporary
directory and atomically replace at the end.

Also, some minor improvements to testing and pruning
unused packages
2013-03-19 15:11:04 -07:00
Avital Oliver
78ca755d3d Npm.require unified requireNpm and __meteor_bootstrap__.require 2013-03-19 15:11:04 -07:00
Avital Oliver
8998633f3c Move npm depdencies from dev bundle to packages 2013-03-19 15:11:03 -07:00
Avital Oliver
5352db933a Implement a useNpm directive for packages 2013-03-19 15:11:03 -07:00
Avital Oliver
9f4702a044 Load packages from PACKAGE_DIRS and CHECKOUT_DIR/packages
Some rehaul of tests for this purpose and general cleanup,
including re-enabling reloading app when packages change
2013-03-19 15:11:03 -07:00
Avital Oliver
40ef67fc93 More testing improvements for meteor test-packages and bundler. 2013-03-19 15:11:03 -07:00
Avital Oliver
36ab0f7ba1 First pass at meteor test-package.
Not yet implemented:
- Detect latest release if not explicitly passed (currently
  hard-coded to 0.1)
- --deploy
- Better help text
2013-03-19 15:11:02 -07:00
Avital Oliver
3e0534a9df Wrote a first bundler unit test, and related refactoring.
- No more global manifest. Instead, all functions requiring a manifest have it passed in, either
  by argument or as a attribute on an appropriate object (such as BundleInstance)
- Some initial progress towards renaming project to app in the codebase
- Eliminate references to collections of packages as a type of "Package"
- Made meteor commands run correctly from a subdirectory of a meteor app, and
  improved tests to have caught this.
- node.sh now returns the return value from the node executable
2013-03-19 15:11:02 -07:00
Avital Oliver
6e25474b31 Fix error messages when running meteor run 2013-03-19 15:11:02 -07:00
David Greenspan
21cd1bee2f Move node out of admin/ into tools/; also fixes it 2013-03-19 15:11:01 -07:00
Avital Oliver
58c6f55676 Apply changes made on engine repo 2013-03-19 15:11:01 -07:00
Avital Oliver
25c3a683fa Directory reorg to mirror the structure of the engine repo 2013-03-19 15:11:01 -07:00