Browse Source

run devel stuffs in source dir

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@988 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
28974db049
  1. 6
      devel/prepare
  2. 0
      devel/prepare.inc.example
  3. 19
      devel/run

6
devel/prepare.devel → devel/prepare

@ -1,10 +1,10 @@
#! /bin/bash
SELF="$0"
if test -e prepare.devel.inc ; then
. prepare.devel.inc
if test -e prepare.inc ; then
. prepare.inc
else
echo prepare.devel.inc is required, see prepare.devel.inc.example >&2
echo prepare.inc is required, see prepare.inc.example >&2
exit
fi

0
devel/prepare.devel.inc.example → devel/prepare.inc.example

19
devel/run

@ -1,6 +1,15 @@
#!/bin/bash
# this script is for developers only
case "$1" in
prep*)
exec ./devel/prepare
;;
tags)
exec ./devel/prepare tags
;;
esac
. run.cfg
basename=$(basename $(pwd))
@ -39,13 +48,7 @@ if [[ ! -z $1 ]]; then
fi
fi
case $type in
prep*)
exec ./devel/prepare.devel
;;
tags)
exec ./devel/prepare.devel tags
;;
case "$type" in
reb*)
PHPDIRS=${PHPDIRS:-$HOME/test}
if [[ ! -x $PHPDIRS/$phpbasename/bin/phpize ]]; then
@ -56,7 +59,7 @@ reb*)
phpize --clean \
&& phpize \
&& CFLAGS="-Wall -Wno-unused -W -Wshadow -std=gnu99" ./configure --enable-xcache-disassembler --enable-xcache-test --enable-xcache-constant \
&& make
&& make clean all
exit
;;
make)

Loading…
Cancel
Save