File: deploy-win.bat

package info (click to toggle)
xaos 4.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,528 kB
  • sloc: cpp: 24,154; ansic: 2,936; sh: 303; xml: 146; python: 39; makefile: 3
file content (33 lines) | stat: -rw-r--r-- 942 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@echo off

where /q windeployqt
if errorlevel 1 (
    echo windeployqt is not in your path.
    exit /b
)

where /q binarycreator
if errorlevel 1 (
    echo binarycreator is not in your path.
    exit /b
)

cd /D "%~dp0\.."

windeployqt bin

rd /s /q installer\packages\net.sourceforge.xaos\data

mkdir installer\packages\net.sourceforge.xaos\data\bin
xcopy /s /e bin installer\packages\net.sourceforge.xaos\data\bin

mkdir installer\packages\net.sourceforge.xaos\data\catalogs
xcopy /s /e catalogs installer\packages\net.sourceforge.xaos\data\catalogs

mkdir installer\packages\net.sourceforge.xaos\data\tutorial
xcopy /s /e tutorial installer\packages\net.sourceforge.xaos\data\tutorial

mkdir installer\packages\net.sourceforge.xaos\data\examples
for /R examples %%f in (*.*) do copy %%f installer\packages\net.sourceforge.xaos\data\examples

binarycreator --offline-only -p installer\packages -c installer\config\config.xml xaossetup.exe