Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UFrameIT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FrameIT
UFrameIT
Commits
f4dd6724
Commit
f4dd6724
authored
4 years ago
by
John Schihada
Browse files
Options
Downloads
Patches
Plain Diff
Added batch-file for deployment
parent
423845b5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MultiBuild.bat
+37
-0
37 additions, 0 deletions
MultiBuild.bat
with
37 additions
and
0 deletions
MultiBuild.bat
0 → 100644
+
37
−
0
View file @
f4dd6724
@echo
off
set
/p
=
For
more
information
about
the
proper
deployment
of
UFrameIT
,
please
have
a
look
into
Deploy
.md.
Hit
ENTER
to
continue
...
set
/p
=
Please
make
sure
to
copy
a
working
frameit
-server
.jar
with
a
suitable
archives
-folder
into
/Assets/StreamingAssets
of
your
Unity
-Project
.
Hit
ENTER
to
continue
...
set
/p
=
Please
make
sure
unity
-support
for
all
build
target
platforms
is
installed
.
Hit
ENTER
to
continue
...
set
/p
=
Please
make
sure
to
build
with
the
unity
-version
that
's set as the default for the project. Hit ENTER to continue...
set /p unityDir=Please enter your absolute unity installation path:
set /p projectPath=Please enter your absolute project path:
echo Windows-Build...
start "Windows-Build" /D "
%projectPath%
" /W "
%unityDir%
"/Unity.exe -batchmode -buildTarget Win64 -projectPath "
%projectPath%
" -buildWindows64Player Build/FrameWorld1.exe -quit
if
%errorlevel%
neq 0 (
set /p=An error occured. Hit ENTER to exit...
exit
%errorlevel%
)
echo Linux-Build...
start "Linux-Build" /D "
%projectPath%
" /W "
%unityDir%
"/Unity.exe -batchmode -buildTarget Linux64 -projectPath "
%projectPath%
" -buildLinux64Player Linux/frameworld.x86_64 -quit
if
%errorlevel%
neq 0 (
set /p=An error occured. Hit ENTER to exit...
exit
%errorlevel%
)
echo Mac-Build... (The Mac-Build will usually work only if it was built from a Mac)
start "Mac-Build" /D "
%projectPath%
" /W "
%unityDir%
"/Unity.exe -batchmode -buildTarget OSXUniversal -projectPath "
%projectPath%
" -buildOSXUniversalPlayer FrameWorld.app -quit
if
%errorlevel%
neq 0 (
set /p=An error occured. Hit ENTER to exit...
exit
%errorlevel%
)
echo Creating Windows zip-file...
start "Windows-zip" /D "
%projectPath%
" /W zip -r UFrameIT-Windows.zip Build
echo Creating Linux tgz-file...
start "Linux-tgz" /D "
%projectPath%
" /W tar -zcvf UFrameIT-Linux.tar.gz Linux
echo Creating Mac tgz-file... (Please use macOS to create a dmg-file from the .app-file)
start "Mac-tgz" /D "
%projectPath%
" /W tar -zcvf UFrameIT-Mac.tar.gz FrameWorld.app
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment