提交 71e03e46 编写于 作者: M myhololens

2023_09_10_1390-wmtag_memo_为了club增加点Makefile目标

上级 ec80a21a
文件已添加
# .vscode/preview.yml
autoOpen: true # 打开工作空间时是否自动开启所有应用的预览
apps:
- port: 8081 # 应用的端口
run: make start # 应用的启动命令
root: . # 应用的启动目录
name: memos # 应用名称
description: memos视觉日记。 # 应用描述
autoOpen: true # 打开工作空间时是否自动开启预览(优先级高于根级 autoOpen)
\ No newline at end of file
......@@ -121,3 +121,18 @@ p11_风里雨里_我们等你:
@echo -e "\033[33m 2023年09月进入大学的 小伙伴们 风里雨里 我们在CSDN技术博客 那里等你 \033[0m\n"
# -----------------------------------------------------------------------
# 下面是为了在clud.cloudstudio.net中通过make start这样最简单的方式起来起来
# 不进行任何构建
# 而是使用已经构建完成的w45_memos_start可执行文件
.PHONY : start
# start是w45_just_start_memos的别名
start : w45_just_start_memos
.PHONY : w45_just_start_memos
w45_just_start_memos:
@echo -e "$$(pwd)/Makefile wmtask_[w45_just_start_memos]_目标_被运行\n"
-@cp .vscode/preview.example.yml .vscode/preview.yml
-@./.air/w45_memos_start --mode dev
@echo -e "\033[33m 执行本目标完毕 \033[0m\n"
# -----------------------------------------------------------------------
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册