forked from fibjs/fibjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.cmd
More file actions
61 lines (52 loc) · 1.44 KB
/
Copy pathbuild.cmd
File metadata and controls
61 lines (52 loc) · 1.44 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
@echo off
set WORK_ROOT=%cd%
set SOURCE_ROOT=%~dp0
if "%USE_VENDER_DIST%" == "" (
if exist "%SOURCE_ROOT%/vender/build.cmd" (
cd /d "%SOURCE_ROOT%/vender"
call build %*%
if ERRORLEVEL 1 goto exitbuild
) else goto inform
)
cd /d "%SOURCE_ROOT%/fibjs"
call build %*%
if ERRORLEVEL 1 goto exitbuild
cd /d "%SOURCE_ROOT%/fibjs/program"
call build %*%
if ERRORLEVEL 1 goto exitbuild
cd /d "%SOURCE_ROOT%/fibjs/installer"
call build %*%
if ERRORLEVEL 1 goto exitbuild
cd /d "%SOURCE_ROOT%"
goto finished
:inform
echo.
echo submodule vender is not existed!
echo you can execute the given command to init and update it.
echo \$ git submodule init
echo \$ git submodule update
echo.
:exitbuild
cd /d "%SOURCE_ROOT%"
exit /B 1
:finished
echo.
echo.
cmake -E cmake_echo_color --red ^
" _______ _________ ______ _________ _______ " ^
" ( ____ \\__ __/( ___ \ \__ _/( ____ \ " ^
" | ( \/ ) ( | ( ) ) ) ( | ( \/ " ^
" | (__ | | | (__/ / | | | (_____ " ^
" | __) | | | __ ( | | (_____ ) " ^
" | ( | | | ( \ \ | | ) | " ^
" | (_ ___) (___| (___) )/\_) ) /\____) | " ^
" (__/ \_______/(______/ \____/ \_______) "
echo.
echo.
echo FIBJS has been successfully built.
echo.
echo For more information:
echo website: http://fibjs.org
echo repository: https://github.com/fibjs
echo.
echo.