mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Merge branch 'master' into 1233-local
Conflicts: lib/linguist/language.rb lib/linguist/languages.yml lib/linguist/samples.json
This commit is contained in:
30
samples/Shell/build.command
Normal file
30
samples/Shell/build.command
Normal file
@@ -0,0 +1,30 @@
|
||||
set -e
|
||||
|
||||
echo "/************/"
|
||||
echo "/* BUILDING */"
|
||||
echo "/************/"
|
||||
echo ""
|
||||
|
||||
cd `dirname $0`
|
||||
|
||||
cd build
|
||||
|
||||
cmake ..
|
||||
|
||||
make
|
||||
|
||||
echo ""
|
||||
echo "/***********/"
|
||||
echo "/* TESTING */"
|
||||
echo "/***********/"
|
||||
echo ""
|
||||
|
||||
# ctest ..
|
||||
|
||||
make Experimental
|
||||
|
||||
echo ""
|
||||
echo "/***********/"
|
||||
echo "/* SUCCESS */"
|
||||
echo "/***********/"
|
||||
echo ""
|
||||
16
samples/Shell/php.fcgi
Executable file
16
samples/Shell/php.fcgi
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
# you can change the PHP version here.
|
||||
version="RB_PHP_VERSION_X_Y_Z"
|
||||
|
||||
# php.ini file location
|
||||
PHPRC=/usr/local/php/phpfarm/inst/php-${version}/lib/php.ini
|
||||
export PHPRC
|
||||
|
||||
PHP_FCGI_CHILDREN=3
|
||||
export PHP_FCGI_CHILDREN
|
||||
|
||||
PHP_FCGI_MAX_REQUESTS=5000
|
||||
export PHP_FCGI_MAX_REQUESTS
|
||||
|
||||
# which php-cgi binary to execute
|
||||
exec /usr/local/php/inst/php-${version}/bin/php-cgi
|
||||
Reference in New Issue
Block a user