You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2023/01/13 04:23:13 UTC

[logging-log4j2] branch master updated: Add alias for formatting code

This is an automated email from the ASF dual-hosted git repository.

mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/master by this push:
     new 0c415d25e5 Add alias for formatting code
0c415d25e5 is described below

commit 0c415d25e5a73ead1eb5cd88b8decc9936abf78d
Author: Matt Sicker <ma...@apache.org>
AuthorDate: Thu Jan 12 22:22:23 2023 -0600

    Add alias for formatting code
---
 format-code.sh | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/format-code.sh b/format-code.sh
new file mode 100755
index 0000000000..d38d4a8570
--- /dev/null
+++ b/format-code.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+# ----------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ----------------------------------------------------------------------------
+./mvnw spotless:apply -pl '!log4j-bom' -T2C