Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate //third_party/ and the symlinks from the script. #346

Merged
merged 1 commit into from
Jul 8, 2018

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Jul 8, 2018

This PR is based on the comment of Ryan in #328.

The script now creates //third_party/ and sets up the symlinks in it, and then updates all gclient and npm deps.

I copied symlink function from //js/run_node.py for now. I'd like to leave the task of creating common utilities for later work because the layout of scripts seems incovenient to do it.

If this PR is merged, everyone needs to run ./tools/build_third_party.py again.

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work. Thanks for pushing this forward, @kt3k ! We're almost to a deno_third_party git submodule now.

I'd like to leave the task of creating common utilities for later work because the layout of scripts seems inconvenient to do it

sounds good!

LGTM

@ry ry merged commit 6c79b47 into denoland:master Jul 8, 2018
@kt3k kt3k deleted the feature/b-3rd-party-2 branch July 8, 2018 06:54
os.unlink(name)
except:
pass
os.symlink(target, name)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like this line should be symlink(target, name). Otherwise, the symlink function below is unused.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching it. That seems fixed now in master https://github.com/ry/deno/blob/master/tools/util.py#L25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants