mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
chore: move the astyle repo to the lvgl organization (#6614)
This commit is contained in:
parent
bac9b29b77
commit
3313664b70
4
.github/pull_request_template.md
vendored
4
.github/pull_request_template.md
vendored
@ -1,5 +1,3 @@
|
|||||||
### Description of the feature or fix
|
|
||||||
|
|
||||||
A clear and concise description of what the bug or new feature is.
|
A clear and concise description of what the bug or new feature is.
|
||||||
|
|
||||||
### Notes
|
### Notes
|
||||||
@ -7,7 +5,7 @@ A clear and concise description of what the bug or new feature is.
|
|||||||
- Add [Examples](https://github.com/lvgl/lvgl/tree/master/examples) if relevant.
|
- Add [Examples](https://github.com/lvgl/lvgl/tree/master/examples) if relevant.
|
||||||
- Add [Tests](https://github.com/lvgl/lvgl/blob/master/tests/README.md) if applicable.
|
- Add [Tests](https://github.com/lvgl/lvgl/blob/master/tests/README.md) if applicable.
|
||||||
- If you added new options to `lv_conf_template.h` run [lv_conf_internal_gen.py](https://github.com/lvgl/lvgl/blob/master/scripts/lv_conf_internal_gen.py) and update [Kconfig](https://github.com/lvgl/lvgl/blob/master/Kconfig).
|
- If you added new options to `lv_conf_template.h` run [lv_conf_internal_gen.py](https://github.com/lvgl/lvgl/blob/master/scripts/lv_conf_internal_gen.py) and update [Kconfig](https://github.com/lvgl/lvgl/blob/master/Kconfig).
|
||||||
- Run `scripts/code-format.py` ([astyle](http://astyle.sourceforge.net/install.html) version [v3.4.12](https://github.com/szepeviktor/astyle/releases/tag/v3.4.12) needs to be installed) and follow the [Code Conventions](https://docs.lvgl.io/master/CODING_STYLE.html).
|
- Run `scripts/code-format.py` (`astyle v3.4.12` needs to installed by running `cd scripts; ./install_astyle.sh`) and follow the [Code Conventions](https://docs.lvgl.io/master/CODING_STYLE.html).
|
||||||
- Mark the Pull request as [Draft](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request) while you are working on the first version, and mark is as _Ready_ when it's ready for review.
|
- Mark the Pull request as [Draft](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request) while you are working on the first version, and mark is as _Ready_ when it's ready for review.
|
||||||
- When changes were requested, [re-request review](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review) to notify the maintainers.
|
- When changes were requested, [re-request review](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review) to notify the maintainers.
|
||||||
- Help us to review this Pull Request! Anyone can [approve or request changes](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/approving-a-pull-request-with-required-reviews).
|
- Help us to review this Pull Request! Anyone can [approve or request changes](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/approving-a-pull-request-with-required-reviews).
|
||||||
|
2
.github/workflows/check_style.yml
vendored
2
.github/workflows/check_style.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
- name: Checkout astyle
|
- name: Checkout astyle
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: szepeviktor/astyle
|
repository: lvgl/astyle
|
||||||
path: astyle
|
path: astyle
|
||||||
ref: v3.4.12
|
ref: v3.4.12
|
||||||
- name: Install astyle
|
- name: Install astyle
|
||||||
|
16
scripts/install_astyle.sh
Executable file
16
scripts/install_astyle.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Check if the script is being run as root
|
||||||
|
if [ "$(id -u)" -ne 0 ]; then
|
||||||
|
echo "This script must be run as root or with sudo" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -rf astyle
|
||||||
|
git clone https://github.com/lvgl/astyle.git
|
||||||
|
cd astyle/build/gcc
|
||||||
|
git checkout v3.4.12
|
||||||
|
make -j
|
||||||
|
make install
|
||||||
|
cd ../../..
|
||||||
|
rm -rf astyle
|
Loading…
x
Reference in New Issue
Block a user