代码拉取完成,页面将自动刷新
同步操作将从 imboy.pub/imboy 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
PROJECT = imboy
PROJECT_DESCRIPTION = 基于cowboy的一款即时聊天软件
PROJECT_VERSION = 1.0.0
#LOCAL_DEPS 本地依赖比较容易理解,就是otp内部项目的依赖
LOCAL_DEPS = ssl mnesia
# erlang.mk会保证 DEPS依赖的包能运行在shell、run、tests命令的时候
DEPS = goldrush lager poolboy mysql jsone ranch cowlib cowboy jsx jwerl hashids gen_smtp
# 如果依赖包不用在erlang运行的时候跑的话,那就把它设置为BUILD_DEPS就行了,这样就只有构建的时候会用到
BUILD_DEPS = reload_mk elvis_mk
DEP_PLUGINS = cowboy reload_mk elvis_mk
RELOAD_MK_WATCH_DIRS = src templates include
# 专为测试用的TEST_DEPS,只有当测试的时候才会运行
# TEST_DEPS = sync
# http://erlang.org/doc/apps/edoc/chapter.html#Introduction
DOC_DEPS = edown
EDOC_OPTS = {doclet, edown_doclet}
# Compile flags
ERLC_COMPILE_OPTS = +'{parse_transform, lager_transform}'
ifeq ($(IMBOYENV),prod)
RELX_CONFIG = $(CURDIR)/relx.prod.config
else ifeq ($(IMBOYENV),test)
RELX_CONFIG = $(CURDIR)/relx.test.config
else ifeq ($(IMBOYENV),dev)
RELX_CONFIG = $(CURDIR)/relx.dev.config
else ifeq ($(IMBOYENV),local)
RELX_CONFIG = $(CURDIR)/relx.local.config
ERLC_COMPILE_OPTS = +'{parse_transform, lager_transform, debug_info}'
else
RELX_CONFIG = $(CURDIR)/relx.config
endif
dep_cowboy_commit = 2.9.0
dep_lager_commit = 3.9.2
# 生成文档的时候会被用到的依赖项
# DOC_DEPS =
# 用户执行make shell命令的时候会用到的依赖
# SHELL_DEPS =
# dep_poolboy = git https://github.com/devinus/poolboy 1.5.2
# dep_mysql = git https://github.com/mysql-otp/mysql-otp 1.7.0
# dep_jsone = git https://github.com/sile/jsone 1.7.0
# dep_hashids = git https://github.com/snaiper80/hashids-erlang 1.0.5
# dep_jwerl = git https://github.com/G-Corp/jwerl 1.1.0
# dep_gen_smtp = git https://github.com/gen-smtp/gen_smtp 1.0.0
# 下列依赖放到 https://gitee.com/imboy-tripartite-deps 只是为了在中国加载代码快速一些
# The following dependencies are placed at https://gitee.com/imboy-tripartite-deps just to make loading code in China faster
# 特此声明:下列依赖,被人未改动过原作者源码
# Hereby declare: the following dependencies have not been modified by the original author source code
# https://erlang.mk/guide/deps.html
dep_cowboy = git https://gitee.com/imboy-tripartite-deps/cowboy 2.9.0
dep_cowlib = git https://gitee.com/imboy-tripartite-deps/cowlib 2.11.0
dep_elvis_mk = git https://gitee.com/imboy-tripartite-deps/elvis.mk 1.0.0
dep_gen_smtp = git https://gitee.com/imboy-tripartite-deps/gen_smtp 1.0.0
dep_goldrush = git https://gitee.com/imboy-tripartite-deps/goldrush 0.1.9
dep_hashids = git https://gitee.com/imboy-tripartite-deps/hashids-erlang 1.0.5
dep_hut = git https://gitee.com/imboy-tripartite-deps/hut.git 1.3.0
dep_jsone = git https://gitee.com/imboy-tripartite-deps/jsone 1.7.0
dep_jsx = git https://gitee.com/imboy-tripartite-deps/jsx.git 2.9.0
# dep_jwerl = git https://gitee.com/imboy-tripartite-deps/jwerl master
dep_jwerl = git https://gitee.com/mirrors_emqx/jwerl 1.1.1
dep_lager = git https://gitee.com/imboy-tripartite-deps/lager 3.9.2
dep_mysql = git https://gitee.com/imboy-tripartite-deps/mysql-otp 1.7.0
dep_poolboy = git https://gitee.com/imboy-tripartite-deps/poolboy 1.5.2
dep_ranch = git https://gitee.com/imboy-tripartite-deps/ranch.git 1.8.0
dep_reload_mk = git https://gitee.com/imboy-tripartite-deps/reload.mk master
# dep_erlfmt = git https://github.com/WhatsApp/erlfmt.git main
SP = 4
include erlang.mk
include include/tpl.mk
include include/cli.mk
APP_VERSION = $(shell cat $(RELX_OUTPUT_DIR)/$(RELX_REL_NAME)/version)
# Append these settings
ERLC_OPTS += $(ERLC_COMPILE_OPTS)
TEST_ERLC_OPTS += $(ERLC_COMPILE_OPTS)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。