Revision | 110 (tree) |
---|---|
Zeit | 2020-02-20 10:02:26 |
Autor | ![]() |
packする時に設定ファイルは .example にリネーム
@@ -8,5 +8,9 @@ | ||
8 | 8 | xcopy EWatch\bin\Release\EWatch.exe %WORKDIR%\EWatch |
9 | 9 | xcopy EWatchCLI\bin\Release\EWatchCLI.exe %WORKDIR%\EWatch |
10 | 10 | xcopy EWatch\etc\notWindows\*.* %WORKDIR%\EWatch\etc |
11 | +pushd %WORKDIR%\EWatch\etc\ | |
12 | +ren EWatch.config.json EWatch.config.json.example | |
13 | +ren log4net.config.xml log4net.config.xml.example | |
14 | +popd | |
11 | 15 | |
12 | 16 | pause |
\ No newline at end of file |
@@ -7,6 +7,10 @@ | ||
7 | 7 | cp EWatch/bin/Release/EWatch.exe $WORKDIR/EWatch |
8 | 8 | cp EWatchCLI/bin/Release/EWatchCLI.exe $WORKDIR/EWatch |
9 | 9 | cp EWatch/etc/notWindows/* $WORKDIR/EWatch/etc |
10 | +pushd $WORKDIR/EWatch/etc | |
11 | +mv EWatch.config.json EWatch.config.json.example | |
12 | +mv log4net.config.xml log4net.config.xml.example | |
13 | +popd | |
10 | 14 | |
11 | 15 | version=$(grep AssemblyVersion EWatch/Properties/AssemblyInfo.cs | sed -r 's/^.*"([0-9\.]+)".*$/\1/') |
12 | 16 | pushd $WORKDIR |