]> Git repositories of Nishi - tewi.git/commitdiff
update koakumafile
authorNishi <nishi@nishi.boats>
Thu, 3 Oct 2024 04:29:08 +0000 (04:29 +0000)
committerNishi <nishi@nishi.boats>
Thu, 3 Oct 2024 04:29:08 +0000 (04:29 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@229 8739d7e6-ffea-ec47-b151-bdff447c6205

Koakumafile

index 2139ba2ae5a1473631693676cee1612c0f446963..779db1f7dd7c18bd48cee2dba4ab041ae8093ff0 100644 (file)
@@ -20,4 +20,19 @@ proc run {project_name} {
        } else {
                RunCommand "make"
        }
+       file mkdir workdir
+       file mkdir workdir/etc
+       file mkdir workdir/www
+       file mkdir workdir/modules
+       file delete archive.7z
+
+       exec ./Tool/itworks > workdir/www/index.html
+       exec ./Tool/genconf C:/Tewi modules dll > workdir/etc/tewi.conf
+       RunCommand "cp Binary/pbtewi.gif workdir/www/"
+       RunCommand "cp Modules/*.dll workdir/modules/"
+       cd workdir
+       RunCommand "7z a ../archive.7z *"
+       cd ..
+       exec cat /usr/share/7z.sfx archive.7z > tewidist.exe
+       RunCommand "rm -rf workdir"
 }