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

Make it possible to develop without copying library to node_modules #105

Merged
merged 6 commits into from
Sep 25, 2018

Conversation

osdnk
Copy link
Contributor

@osdnk osdnk commented Sep 19, 2018

@osdnk osdnk added the WIP label Sep 20, 2018
@@ -6,7 +6,7 @@

#import <React/RCTLog.h>
#import <React/RCTUIManager.h>
#import "RCTComponentData.h"
#import "React/RCTComponentData.h"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This appears not ot change anything, but make example compilable

"test": "jest",
"postinstall":
"rm -rf node_modules/react-native-reanimated/{.git,node_modules,Example}"
"postinstall": "mkdir node_modules/react-native-reanimated2 && ln -s ../../../android node_modules/react-native-reanimated2/android && ln -s ../../../package.json node_modules/react-native-reanimated2/package.json"
Copy link
Contributor Author

@osdnk osdnk Sep 20, 2018

Choose a reason for hiding this comment

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

symlinks fron android and package.json are required by android compiler. Didn't manage to do it without it

@@ -137,7 +137,7 @@ android {
}

dependencies {
compile project(':react-native-reanimated')
compile project(':react-native-reanimated2')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

in order to avoid namespace conflict

@osdnk osdnk removed the WIP label Sep 20, 2018
@kmagiera kmagiera merged commit 7a8885c into master Sep 25, 2018
@kmagiera kmagiera deleted the chore-example-deps branch September 25, 2018 07:36
MatiPl01 added a commit that referenced this pull request Jan 21, 2025
* Fix some Android issues in the example app

* Some more adjustments

* Move css example app to css-example, restore fabric-example
MatiPl01 added a commit that referenced this pull request Jan 21, 2025
* Fix some Android issues in the example app

* Some more adjustments

* Move css example app to css-example, restore fabric-example
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.

3 participants