1 Star 0 Fork 61

Kayden/teedoc_with_qpydoc_2.0

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.bat 731 Bytes
一键复制 编辑 原始数据 按行查看 历史
chcp 65001
@echo off
set opt=%1
set ret=0
set project_root=%CD%
set css_dest_dir=%project_root%\out\static\css\theme_default
set js_dest_dir=%project_root%\out\static\js\theme_default
set css_src_dir=%project_root%\static\css\theme_default
set js_src_dir=%project_root%\static\js\theme_default
teedoc build
if not exist %css_src_dir% (
echo !!!!teedoc 编译失败!!!!
set ret=1
goto exit
) else (
xcopy /y %css_src_dir%\light.css %css_dest_dir%\
xcopy /y %js_src_dir%\main.js %js_dest_dir%\
)
if /i "%opt%"=="-s" (
echo 本地预览地址: http://127.0.0.1:8000/
echo 退出预览模式: Ctrl + C
call python.exe -m http.server 8000 -d out/
) else (
echo 编译完成,输出文件目录: out\
)
:exit
exit /B %ret%
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lifan2021/teedoc_with_qpydoc_2.0.git
git@gitee.com:lifan2021/teedoc_with_qpydoc_2.0.git
lifan2021
teedoc_with_qpydoc_2.0
teedoc_with_qpydoc_2.0
main

搜索帮助