mirror of
https://github.com/msojocs/wx-compiler.git
synced 2025-07-19 00:00:04 +08:00
20 lines
846 B
Bash
20 lines
846 B
Bash
#!/bin/bash
|
|
|
|
root_dir=$(cd `dirname $0`/.. && pwd -P)
|
|
|
|
cd /mnt/d/Work/WeChatProjects/issue/97/ThorUI-applets-vip
|
|
|
|
# list="cmd1 cmd2"
|
|
# for cmd in $list;
|
|
# do
|
|
# echo $cmd
|
|
# /root/github/wx-compiler/build/wcc "--config-path" "/mnt/d/Work/disassembly/wcc-exec/wcc/config/$cmd.txt" > /root/github/wx-compiler/test/wcc_linux.json
|
|
# /mnt/d/Work/disassembly/wcc-exec/wcc/wcc.exe "--config-path" "d:/Work/disassembly/wcc-exec/wcc/config/$cmd.txt" > /root/github/wx-compiler/test/wcc_win.json
|
|
# done;
|
|
filename="issue/97/wcc-cmd2.txt"
|
|
echo "linux:"
|
|
/root/github/wx-compiler/build/wcc "--config-path" "/mnt/d/Work/WeChatProjects/$filename" > /root/github/wx-compiler/test/wcc_linux.json
|
|
|
|
echo "windows:"
|
|
/mnt/d/Work/disassembly/wcc-exec/wcc/wcc.exe "--config-path" "d:/Work/WeChatProjects/$filename" > /root/github/wx-compiler/test/wcc_win.json
|