Skip to content

Commit

Permalink
Build scripts updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mafiesto4 committed Apr 2, 2017
1 parent 55a33f4 commit 630aee3
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
12 changes: 12 additions & 0 deletions build_all.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
@echo off

call update_api.bat

echo Preparing API metadata...
docfx\docfx.exe metadata

echo Building site...
docfx\docfx.exe build
xcopy /Y favicon.ico _site

echo Done!
7 changes: 6 additions & 1 deletion build_manual.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
@echo off

echo Building site...
docfx\docfx.exe build
xcopy /Y favicon.ico _site
xcopy /Y favicon.ico _site

echo Done!
23 changes: 23 additions & 0 deletions update_api.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@echo off

if not exist src mkdir src
cd src

IF EXIST FlaxAPI (

echo Updating Flax API...
cd FlaxAPI
git reset --hard origin/master

git pull origin master
cd ..

) ELSE (

echo Downloading Flax API...
git clone https://github.com/FlaxEngine/FlaxAPI.git

)

echo Source is ready!
cd ..

0 comments on commit 630aee3

Please sign in to comment.