Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

First stage for adding goog.provide/require style dependencies. #1965

Closed
wants to merge 4 commits into from

Conversation

chirayuk
Copy link
Contributor

@chirayuk chirayuk commented Feb 6, 2013

Add goog.provide / goog.require style dependencies and use
closurebuilder.py to concat the script together.

The goal for these commits is:

  • to have the smallest diff for the generated
    build/angular.js.
  • Have each commit be a fairly mechanical change for ease of
    reviewing.

@IgorMinar
Copy link
Contributor

@mhevery how does this LGTY? most of the requires make no sense, they just artificially ensure that the current file order is preserved. I think that biting the bullet and manually figuring out the dependencies for real is a better way to add the code dependency info into the codebase.

-1

Add .pyc files to .gitignore.
Also specify that only the top level build directory is to
be ignored.  (In pref for closure-library which has a build
subdirectory that we don't want to ignore.)
Add the minimal part of closure-library to pull in
closurebuilder.py.  closurebuilder.py depends on a few other
.js files as well as goog.base.  These are included as well.
The directory tree mimics that of the closure-library to
keep things easy to figure out.
Add goog.provide / goog.require style dependencies and use
closurebuilder.py to concat the script together.

The goal for this commit is:
-   to have the smallest diff for the generated
    build/angular.js.
-   Be a fairly mechanical change to make a review easier since it
    touched a whole bunch of files.
@IgorMinar
Copy link
Contributor

as discussed we are going to do this in a different way once #1951 lands

@IgorMinar IgorMinar closed this Mar 8, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants