Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Refactoring meson architecture - #121

Merged
0xMRTT merged 4 commits into
GradienceTeam:mainfrom
tfuxu:meson-refactor
Aug 13, 2022
Merged

0xMRTT merged 4 commits into
GradienceTeam:mainfrom
tfuxu:meson-refactor

Conversation

@tfuxu

@tfuxu tfuxu commented Aug 13, 2022

Copy link
Copy Markdown
Member

This PR mostly makes meson structure in this codebase more readable by adding new constants, and by moving some parts of src/meson.build to a more central meson.build.

Changes:

  • Create new constants in info.py.in: rootdir and app_id,
  • Remove (where possible) redundancy and switch to new constants,
  • Move some parts of src/meson.build to more central meson.build,
  • Add new if statement that checks if the host has a python3 binary available,
  • Rename info.py.in to constants.py.in,
  • In src/window.py, add new if statement that adds devel CSS class to a window if build_type is set to "debug".

@0xMRTT

0xMRTT commented Aug 13, 2022

Copy link
Copy Markdown
Member

Hi @tfuxu

Thanks you 😎 for the PR. It's exactly what I wanted to do.

@0xMRTT
0xMRTT changed the base branch from next to main August 13, 2022 12:46
@0xMRTT
0xMRTT enabled auto-merge August 13, 2022 12:46
@0xMRTT
0xMRTT disabled auto-merge August 13, 2022 12:49
@0xMRTT
0xMRTT merged commit fd010a8 into GradienceTeam:main Aug 13, 2022
@0xMRTT

0xMRTT commented Aug 20, 2022

Copy link
Copy Markdown
Member

@all-contributors please add @tfuxu for code

@allcontributors

Copy link
Copy Markdown
Contributor

@0xMRTT

I've put up a pull request to add @tfuxu! 🎉

@tfuxu
tfuxu deleted the meson-refactor branch September 10, 2022 20:38
@daudix daudix mentioned this pull request Oct 4, 2022
7 tasks done
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.

2 participants