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

Flatten headers directory #3474

Merged
merged 4 commits into from
Aug 23, 2022
Merged

Flatten headers directory #3474

merged 4 commits into from
Aug 23, 2022

Conversation

tomekzaw
Copy link
Member

@tomekzaw tomekzaw commented Aug 12, 2022

Description

This PR unpacks *.h files from headers directory into respective folders, parallel to *.cpp files.

The only exception is hidden_headers directory which was not affected.

CMakeLists.txt and RNReanimated.podspec were updated accordingly.

Also, cpplint warnings were resolved.

Before:

before

After:

after

Changes

Test code and steps to reproduce

Checklist

  • Included code example that can be used to test this change
  • Updated TS types
  • Added TS types tests
  • Added unit / integration tests
  • Updated documentation
  • Ensured that CI passes

@tomekzaw tomekzaw changed the title Flatten headers Flatten headers directories Aug 12, 2022
@tomekzaw tomekzaw marked this pull request as ready for review August 12, 2022 17:14
@tomekzaw tomekzaw changed the title Flatten headers directories Flatten headers directory Aug 12, 2022
@piaskowyk piaskowyk merged commit bb3e421 into main Aug 23, 2022
@piaskowyk piaskowyk deleted the @tomekzaw/flatten-headers branch August 23, 2022 14:23
piaskowyk pushed a commit that referenced this pull request Oct 5, 2022
This PR unpacks `*.h` files from `headers` directory into respective folders, parallel to `*.cpp` files.

The only exception is `hidden_headers` directory which was not affected.

`CMakeLists.txt` and `RNReanimated.podspec` were updated accordingly.

Also, cpplint warnings were resolved.

**Before:**

<img width="416" alt="before" src="https://user-images.githubusercontent.com/20516055/184409763-feba5812-e958-4b74-9a24-b5d437a69d93.png">

**After:**

<img width="381" alt="after" src="https://user-images.githubusercontent.com/20516055/184409780-18de7ba6-525e-47d8-b96f-e926adbdb679.png">

<!--
Description and motivation for this PR.

Inlude Fixes #<number> if this is fixing some issue.

Fixes # .
-->

<!--
Please describe things you've changed here, make a **high level** overview, if change is simple you can omit this section.

For example:

- Added `foo` method which add bouncing animation
- Updated `about.md` docs
- Added caching in CI builds

-->

<!--

Here you can add screenshots / GIFs documenting your change.

You can add before / after section if you're changing some behavior.

-->

<!--
Please include code that can be used to test this change and short description how this example should work.
This snippet should be as minimal as possible and ready to be pasted into editor (don't exclude exports or remove "not important" parts of reproduction example)
-->

- [ ] Included code example that can be used to test this change
- [ ] Updated TS types
- [ ] Added TS types tests
- [ ] Added unit / integration tests
- [ ] Updated documentation
- [ ] Ensured that CI passes
fluiddot pushed a commit to wordpress-mobile/react-native-reanimated that referenced this pull request Jun 5, 2023
## Description

This PR unpacks `*.h` files from `headers` directory into respective folders, parallel to `*.cpp` files.

The only exception is `hidden_headers` directory which was not affected.

`CMakeLists.txt` and `RNReanimated.podspec` were updated accordingly.

Also, cpplint warnings were resolved.

**Before:**

<img width="416" alt="before" src="https://user-images.githubusercontent.com/20516055/184409763-feba5812-e958-4b74-9a24-b5d437a69d93.png">

**After:**

<img width="381" alt="after" src="https://user-images.githubusercontent.com/20516055/184409780-18de7ba6-525e-47d8-b96f-e926adbdb679.png">

<!--
Description and motivation for this PR.

Inlude Fixes #<number> if this is fixing some issue.

Fixes # .
-->

## Changes

<!--
Please describe things you've changed here, make a **high level** overview, if change is simple you can omit this section.

For example:

- Added `foo` method which add bouncing animation
- Updated `about.md` docs
- Added caching in CI builds

-->

<!--

## Screenshots / GIFs

Here you can add screenshots / GIFs documenting your change.

You can add before / after section if you're changing some behavior.

### Before

### After

-->

## Test code and steps to reproduce

<!--
Please include code that can be used to test this change and short description how this example should work.
This snippet should be as minimal as possible and ready to be pasted into editor (don't exclude exports or remove "not important" parts of reproduction example)
-->

## Checklist

- [ ] Included code example that can be used to test this change
- [ ] Updated TS types
- [ ] Added TS types tests
- [ ] Added unit / integration tests
- [ ] Updated documentation
- [ ] Ensured that CI passes
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

2 participants