You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2022/06/26 09:49:16 UTC
[plc4x] branch develop updated: chore(plc4c): Added a little shell script to download dependencies, so people can use plc4x without the need to setup anything with maven.
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new 4f6369f0d chore(plc4c): Added a little shell script to download dependencies, so people can use plc4x without the need to setup anything with maven.
4f6369f0d is described below
commit 4f6369f0de0f7287efb3e0792b2351888725756f
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Sun Jun 26 02:49:05 2022 -0700
chore(plc4c): Added a little shell script to download dependencies, so people can use plc4x without the need to setup anything with maven.
---
plc4c/fetch-dependencies.sh | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/plc4c/fetch-dependencies.sh b/plc4c/fetch-dependencies.sh
new file mode 100755
index 000000000..4fa87bcdb
--- /dev/null
+++ b/plc4c/fetch-dependencies.sh
@@ -0,0 +1,26 @@
+#!/usr/bin/env bash
+
+# ----------------------------------------------------------------------------
+# 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
+#
+# https://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.
+# ----------------------------------------------------------------------------
+
+mkdir -p target/dependency
+
+wget -O target/unity.zip https://github.com/ThrowTheSwitch/Unity/archive/v2.5.2.zip
+
+unzip target/unity.zip -d target/dependency