File tree 2 files changed +4
-7
lines changed
2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ LINKER = c++
87
87
88
88
COMPILER_FLAGS = -Wall -c -O2 -std=c++11 -fpic -DVERSION="` ./version.sh ` " -I. -g
89
89
LINKER_FLAGS = -shared
90
- LINKER_DEPENDENCIES = -lphpcpp -lv8
90
+ LINKER_DEPENDENCIES = -lphpcpp -lv8 -licui18n
91
91
92
92
93
93
#
Original file line number Diff line number Diff line change 4
4
unset GREP_OPTIONS
5
5
6
6
# do we have a project number or version directory?
7
- project=$( pwd -P | grep -o -e " [#][[:digit:]]\+" )
8
- version=$( pwd -P | grep -o -e " PxJavascript/[[:digit:]]\+[.][[:digit:]]\+[.]\?[[:digit:]]\?" )
7
+ version=$( git tag | tail -n 1)
9
8
10
9
# which one is set?
11
- if [ ! -z $project ]; then
12
- echo " project $project "
13
- elif [ ! -z $version ]; then
14
- echo $version | cut --delimiter=/ --fields=2
10
+ if [ ! -z $version ]; then
11
+ echo $version | cut --delimiter=v --fields=2
15
12
else
16
13
echo " dev"
17
14
fi
You can’t perform that action at this time.
0 commit comments