mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
perf: 文件整理
This commit is contained in:
parent
ab7a477d40
commit
26035ed77c
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
node_modules
|
||||
test/**/*.json
|
||||
test/**/*-output.js
|
||||
test-result.log
|
||||
nwjs
|
@ -1,4 +1,13 @@
|
||||
<script>
|
||||
require('./wcc_test')
|
||||
require('./wcsc_test')
|
||||
</script>
|
||||
<html>
|
||||
<head>
|
||||
<title>node test</title>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<button onclick="location.reload();">刷新</button>
|
||||
<script>
|
||||
require('./wcc_test')
|
||||
require('./wcsc_test')
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -173,6 +173,7 @@ const test = async (options, id) => {
|
||||
result = JSON.stringify(wcc_result, null, 4)
|
||||
fs.writeFileSync(path.resolve(__dirname, `${id}/wcc_node_${MODE}.txt`), result)
|
||||
};
|
||||
|
||||
(async () => {
|
||||
for(let options of wcc_options){
|
||||
await test(options[0], options[1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user