David Glasser
45cc54fb63
comment and require cleanup
2014-11-25 09:06:20 -08:00
David Glasser
f02336d0cd
test-packages for cordova
2014-11-25 09:06:20 -08:00
David Glasser
1a9536baa2
Fix test-packages
...
See #3012 , though.
2014-11-25 09:06:20 -08:00
David Glasser
2410cec49d
preserve spaces and comments from .meteor/packages
2014-11-25 09:06:20 -08:00
David Glasser
7b256e58c2
allow you to progress ProjectContext to any step
2014-11-25 09:06:19 -08:00
David Glasser
83421c288a
Remove isLocalPackage
2014-11-25 09:06:19 -08:00
David Glasser
3a38ef0369
commands-cordova is fully transitioned
2014-11-25 09:06:19 -08:00
David Glasser
f7f77b44cd
Fix add-platform
2014-11-25 09:06:19 -08:00
David Glasser
637a3ec37b
Fix remove-platform
2014-11-25 09:06:19 -08:00
David Glasser
45be10a565
Fix list-platforms
2014-11-25 09:06:19 -08:00
David Glasser
2b818092ce
'meteor run ARGS' (cordova) works now
2014-11-25 09:06:19 -08:00
David Glasser
e05692a8d2
Fix meteor shell
2014-11-25 09:06:19 -08:00
David Glasser
c344278b96
Fix up stats.
...
Satisfyingly delete a long comment explaining how somehow it is annoying
to work with a codebase that's full of singletons.
2014-11-25 09:06:18 -08:00
David Glasser
a7c0cfdc77
Comment about future work
2014-11-25 09:06:18 -08:00
David Glasser
266b75c33b
Fix client refresh
2014-11-25 09:06:18 -08:00
David Glasser
f0ff76a24b
watch local package search dirs
2014-11-25 09:06:18 -08:00
David Glasser
19c9536bf5
Correctly watch broken packages
2014-11-25 09:06:18 -08:00
David Glasser
c3b6ab1cf2
main/plugin/app field of unibuild is now 'kind'
...
It was 'name' in unibuilds, and both 'self.archName' and 'name:' option
in SourceArch. And for some reason we stopped writing it to isopack.json
at some point. Now we'll just call it 'kind' to make it clear it is
neither a name nor an arch. (I think this used to be how we
differentiated main from tests, but that doesn't exist any more.)
This fixes a bug introduced on this branch where weak dependencies might
get ignored if the weakly-depended package was just recompiled.
2014-11-25 09:06:18 -08:00
David Glasser
5808c56af8
rebuilds in run work
...
(but not for client-only refresh)
(and haven't implemented "soft reload" yet)
2014-11-25 09:06:18 -08:00
David Glasser
4563258ec0
'meteor run' works once
...
restart crashes intentionally
(client-only changes to app code work; client-only changes to packages
don't get reloaded.)
2014-11-25 09:06:17 -08:00
David Glasser
4f1da93bc4
add IsopackCache.allLoadedLocalPackagesWatchSet
2014-11-25 09:06:17 -08:00
David Glasser
a9a3411703
checkpoint on 'meteor run'
2014-11-25 09:06:17 -08:00
David Glasser
055575a80c
Support .meteor/cordova-plugins
2014-11-25 09:06:17 -08:00
David Glasser
e9a34062a8
remove content from project.js
2014-11-25 09:06:17 -08:00
David Glasser
9f8b533fcc
Write versions when app release matches current
...
This should take care of the special-casing that used to be in create
and update. (Will still need to confirm that it works properly for
update.)
2014-11-25 09:06:17 -08:00
David Glasser
7b952d50e9
write .meteor/.finished-upgraders in 'create'
2014-11-25 09:06:17 -08:00
David Glasser
ea7c60253f
write .meteor/release on create
2014-11-25 09:06:16 -08:00
David Glasser
0d36f83f90
Combine metadata watchsets lazily
...
This makes it easy to replace sub-WatchSets when we write a file
2014-11-25 09:06:16 -08:00
David Glasser
7998389287
Read .meteor/release in ProjectContext
2014-11-25 09:06:16 -08:00
David Glasser
88e4ecdc18
basic port of meteor create
...
A few details are missing. But see how much nicer this is than
reinitializing catalog.complete?
2014-11-25 09:06:16 -08:00
David Glasser
8f6a7b757b
All commands are now newfangled.
...
Some just don't work yet :)
2014-11-25 09:06:16 -08:00
David Glasser
438ddad7bc
Remove catalog.complete from core code
...
It's still in unmigrated commands.
Remove tropohouse's catalog. It was there to stop you from downloading
local packages but downloadPackagesMissingFromMap does that based on the
PackageMap now.
2014-11-25 09:06:16 -08:00
David Glasser
490511a498
Move catalog refresh off of catalog.complete
2014-11-25 09:06:15 -08:00
David Glasser
c862b30e1e
Remove resolver from catalog
2014-11-25 09:06:15 -08:00
David Glasser
e921b20caa
Remove catalog.resolveConstraints
...
Also remove the subclass of LocalCatalog used for the isopacket building
catalog... it can just use LocalCatalog and set a flag (which is only
checked in one place).
2014-11-25 09:06:15 -08:00
David Glasser
e313b8e3d8
Remove getTransitiveClosureOfPackages
2014-11-25 09:06:15 -08:00
David Glasser
ee649d3bda
Move isopack-compiler back to compiler
2014-11-25 09:06:15 -08:00
David Glasser
ccfd41ba7a
Stop fiddling with local package build IDs
...
We still prevent you from specifying a build ID in package.js, but we no
longer need it for internal rebuild-tracking purposes. (Maybe in the
future we can actually use it for tracking different builds of a
package?)
2014-11-25 09:06:15 -08:00
David Glasser
1dd0926d27
LocalCatalog has no builds
2014-11-25 09:06:15 -08:00
David Glasser
ed4325aca5
Delete getLoadPathForPackage and _build
2014-11-25 09:06:14 -08:00
David Glasser
0738e2ddb4
Delete all references to PackageCache
2014-11-25 09:06:14 -08:00
David Glasser
8e484170ae
Delete PackageLoader, references to it in new code
...
References are still sitting around in code that hasn't been
transitioned yet.
2014-11-25 09:06:14 -08:00
David Glasser
8296f7f8b7
Switch _writeTool isopacket build to new compiler
2014-11-25 09:06:14 -08:00
David Glasser
bd4939e815
Support full 'meteor build' (w/ cordova)
2014-11-25 09:06:14 -08:00
David Glasser
ace2d7e7cd
Add appIdentifier to ProjectContext
2014-11-25 09:06:14 -08:00
David Glasser
8076eb2d7b
.meteor/platforms is already in projectWatchSet
2014-11-25 09:06:13 -08:00
David Glasser
0140b71665
read and write .meteor/platforms
2014-11-25 09:06:13 -08:00
David Glasser
83c7f57896
Read and write .meteor/versions
2014-11-25 09:06:13 -08:00
David Glasser
bf619f2e8b
be more consistent about naming imports
2014-11-25 09:06:13 -08:00
David Glasser
738a4a00b8
Escape package names in IsopackCache paths
2014-11-25 09:06:13 -08:00