Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
142da69c
Commit
142da69c
authored
May 03, 2011
by
shibakaneki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated build scripts
parent
ed1bd526
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
19 deletions
+7
-19
release.linux.sh
release.linux.sh
+2
-8
release.macx.sh
release.macx.sh
+5
-11
No files found.
release.linux.sh
View file @
142da69c
...
...
@@ -5,6 +5,8 @@ rm -rf build/linux/release/
/usr/bin/qmake-qt4
make
-j
4 release-install
VERSION
=
`
cat
build/linux/release/version
`
if
[
!
-f
build/linux/release/version
]
;
then
echo
"version not found"
...
...
@@ -15,17 +17,9 @@ else
echo
creating a tag with the version
$VERSION
git tag
-a
"v
$VERSION
"
-m
"Generating setup for v
$VERSION
"
git push origin
--tags
else
if
[
"
$1
"
!=
"escape"
]
;
then
echo
"if you have already compiled a release (e.g. on a different os) please use the following command line"
echo
sh release.linux.sh escape
exit
2
fi
fi
fi
make
-j
4 release-install
cp
resources/linux/run.sh build/linux/release/product
chmod
+x build/linux/release/product/run.sh
...
...
release.macx.sh
View file @
142da69c
...
...
@@ -64,10 +64,14 @@ rm -rf "$BUILD_DIR"
# generate Makefiles
notify
"Generating Makefile ..."
QMAKE_CMD
=
"
$QMAKE
-spec macx-g++
42
"
QMAKE_CMD
=
"
$QMAKE
-spec macx-g++"
$QMAKE_CMD
# build
notify
"Compiling ..."
make
-j4
release
VERSION
=
`
cat
"
$BUILD_DIR
/version"
`
if
[
!
-f
"
$BUILD_DIR
/version"
]
;
then
echo
"version not found"
...
...
@@ -78,19 +82,9 @@ else
echo
creating a tag with the version
$VERSION
git tag
-a
"v
$VERSION
"
-m
"Generated setup for v
$VERSION
"
git push origin
--tags
else
if
[
"
$1
"
!=
"escape"
]
;
then
echo
"if you have already compiled a release (e.g. on a different os) please use the fallowing command line"
echo
sh release.macx.sh escape
exit
2
fi
fi
fi
# build
notify
"Compiling ..."
make
-j4
release
if
[
$?
!=
0
]
;
then
abort
"compilation failed"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment