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

Help with installing the tick processor by default #198

Closed
matthewloring opened this issue Sep 22, 2015 · 3 comments
Closed

Help with installing the tick processor by default #198

matthewloring opened this issue Sep 22, 2015 · 3 comments

Comments

@matthewloring
Copy link

I was hoping to get the tick processor installed by default in node installations. My hope is to follow a pattern similar to that of gdbinit but installing the tick processor will involve dynamically creating a script which is the concatenation of a collection of scripts in V8. It will additionally require modifying the tick processor itself as the tool currently relies on relative paths into V8. Do you have any pointers to resources I could use to get started?

@bnoordhuis
Copy link
Member

I'd start with make install first and tackle the GUI installers later.

make install runs tools/install.py. You would add an action to the files() function, something like:

def files(action):
  # ...
  if action == install:
    # concatenate files and install
    action(...)
  elif action == uninstall:
    # just uninstall
    action(...)

The install and uninstall functions only know about copying around files, you probably want to teach install how to write a string to file.

@matthewloring
Copy link
Author

Pull request opened at nodejs/node#3032.

@matthewloring
Copy link
Author

nodejs/node#3032 landed. Closing this.

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

No branches or pull requests

2 participants