我的 project.clj 文件
中有以下内容STARTUPINFO si;
PROCESS_INFORMATION pi;
ZeroMemory(&si, sizeof(si));
si.cb = sizeof(si);
ZeroMemory(&pi, sizeof(pi));
si.dwX = x;
si.dwY = y;
si.dwXSize = w;
si.dwYSize = h;
// any flags I can set to give the STARTUPINFO dimensions priority?
si.dwFlags = ??
CreateProcess(_T("C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe"), _T(""),
NULL, NULL, FALSE, CREATE_NEW_CONSOLE, NULL,
NULL, &si, &pi);
.....
:clean-targets [:target-path
:compile-path "classes"
:output-paths ["build/js/output" "js/output" "output"]
"build/js/main.js.map"
]
尝试运行:output-to "build/js/main.js",
:output-dir "build/js/output"
:optimizations :simple,
:source-map "build/js/main.js.map",
:asset-path "js/out"
时,“build / js / output”文件不会被删除。 “output-dir”目录是否受到保护?
答案 0 :(得分:1)
默认情况下lein clean
仅删除target
目录。您可以通过在project.clj
中设置:clean-targets
来自定义应清理哪些目录:
:clean-targets [:target-path "build/js/output"]