feat: clang format options added on makefile and docker image for archlinux
This commit is contained in:
@@ -3,5 +3,5 @@
|
|||||||
FROM archlinux:base-devel
|
FROM archlinux:base-devel
|
||||||
|
|
||||||
RUN pacman -Syu --noconfirm && \
|
RUN pacman -Syu --noconfirm && \
|
||||||
pacman -S --noconfirm git meson base-devel libinput wayland wayland-protocols glib2-devel pixman libxkbcommon mesa gtkmm3 jsoncpp pugixml scdoc libpulse libdbusmenu-gtk3 libmpdclient gobject-introspection libxkbcommon playerctl iniparser fftw && \
|
pacman -S --noconfirm git meson base-devel libinput wayland wayland-protocols glib2-devel pixman libxkbcommon mesa gtkmm3 jsoncpp pugixml scdoc libpulse libdbusmenu-gtk3 libmpdclient gobject-introspection libxkbcommon playerctl iniparser fftw clang && \
|
||||||
sed -Ei 's/#(en_(US|GB)\.UTF)/\1/' /etc/locale.gen && locale-gen
|
sed -Ei 's/#(en_(US|GB)\.UTF)/\1/' /etc/locale.gen && locale-gen
|
||||||
|
|||||||
@@ -27,5 +27,10 @@ test-detailed:
|
|||||||
meson test -C build --verbose --print-errorlogs --test-args='--reporter console -s'
|
meson test -C build --verbose --print-errorlogs --test-args='--reporter console -s'
|
||||||
.PHONY: test-detailed
|
.PHONY: test-detailed
|
||||||
|
|
||||||
|
format:
|
||||||
|
git diff --name-only --diff-filter=ACMR | \
|
||||||
|
grep -E '\.(c|h|cpp|hpp)$$' | \
|
||||||
|
xargs -r clang-format -i
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
|
|||||||
Reference in New Issue
Block a user