Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Link global opencv4nodejs to give access #106

Merged
merged 1 commit into from
Mar 14, 2019
Merged

Conversation

imurchie
Copy link
Contributor

@imurchie imurchie commented Mar 6, 2019

I do not have the time right now to make the fully generalized solution proposed in #105. However, if opencv4nodejs is already globally installed, it can be used by linking into this package. So check and link if it is there, after the install.

- npm install --no-save mjpeg-consumer
script:
- npm run test
- npm run e2e-test
- npm run test && npm run e2e-test
Copy link
Contributor

Choose a reason for hiding this comment

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

don't we want to run e2e test if test fails?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not particularly. I'd rather the feedback earlier.

Also, if people aren't circumventing the pre-commit hooks, then the unit tests will always pass.

@@ -58,6 +58,7 @@
"scripts": {
"clean": "rm -rf node_modules && rm -f package-lock.json && npm install",
"prepare": "gulp prepublish",
"postinstall": "npm ls -g opencv4nodejs --depth=0 && npm link opencv4nodejs",
Copy link
Contributor

Choose a reason for hiding this comment

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

will it work for windows?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should.

Copy link
Member

@jlipps jlipps left a comment

Choose a reason for hiding this comment

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

i never remember how much bashism npm makes available on win, but LGTM

Copy link
Member

@KazuCocoa KazuCocoa left a comment

Choose a reason for hiding this comment

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

🤞

@imurchie imurchie merged commit 94d25da into master Mar 14, 2019
@imurchie imurchie deleted the isaac-temp-opencv branch March 14, 2019 15:20
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.

4 participants