1 Star 0 Fork 3.2K

limeng / iot-dc3

forked from 张红元 / iot-dc3 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 1.49 KB
一键复制 编辑 原始数据 按行查看 历史
张红元 提交于 2020-12-25 09:27 . 新增脚本文件
#
# Copyright 2018-2020 Pnoker. All Rights Reserved.
#
# Licensed 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.
#
Default:
echo "make dev-dc3: mvn mvn clean package & docker-compose build & docker-compose up"
echo "make deploy-dc3: mvn mvn clean package deploy"
echo "make package-dc3: mvn clean package"
echo "make clean: mvn clean"
.PHONY: build clean-dc3
dev-dc3:
cd dc3/bin \
&& chmod +x mvn-clean.sh \
&& chmod +x mvn-package.sh \
&& ./mvn-clean.sh \
&& ./mvn-package.sh \
&& cd dev \
&& chmod +x docker-compose-build.sh \
&& chmod +x docker-compose-up.sh \
&& ./docker-compose-build.sh \
&& ./docker-compose-up.sh \
deploy-dc3:
cd dc3/bin \
&& chmod +x mvn-clean.sh \
&& chmod +x mvn-package.sh \
&& chmod +x mvn-deploy.sh \
&& ./mvn-clean.sh \
&& ./mvn-package.sh \
&& ./mvn-deploy.sh
package-dc3:
cd dc3/bin \
&& chmod +x mvn-clean.sh \
&& chmod +x mvn-package.sh \
&& ./mvn-clean.sh \
&& ./mvn-package.sh
clean-dc3:
cd dc3/bin \
&& chmod +x mvn-clean.sh \
&& ./mvn-clean.sh
Java
1
https://gitee.com/tczhilian/iot-dc3.git
git@gitee.com:tczhilian/iot-dc3.git
tczhilian
iot-dc3
iot-dc3
master

搜索帮助