Commit f6a7560e by Takumi Imai

Revert "ビルドテストコミット"

This reverts commit 17845026.
parent 17845026
2012*/
_bk/
abvw.zip
_config/
ob/
*.gz
*.zip
patch/
*.iml
.idea/
# directory index file list
DirectoryIndex login.html index.html
# mimetype
AddType image/svg+xml .svg
AddType video/mp4 .mov
# favicon
AddType image/x-icon .ico
<Files favicon.ico>
ErrorDocument 404 ./favicon.ico
</Files>
<Files ~ "\.(js|json)$">
Header add Pragma "no-cache"
Header set Cache-Control no-cache
</Files>
#SetEnvIf Referer "^http://web3\.agentec\.jp/web_test/" RefererCheck
#Order deny,allow
#Deny from all
#Allow from env=RefererCheck
<Files ~ "\.(js|json)$">
Header add Pragma "no-cache"
Header set Cache-Control no-cache
</Files>
#!/bin/sh
PROTOCOL=$1
DOMAIN=$2
modify_htaccess()
{
URI=$1
cat > abvw/.htaccess << EOF
SetEnvIf Referer "^$URI" RefererCheck
Order deny,allow
Deny from all
Allow from env=RefererCheck
<Files ~ "\.(js|json)$">
Header add Pragma "no-cache"
Header set Cache-Control no-cache
</Files>
EOF
}
modify_api()
{
URI_PREFIX=$1
cat > abvw/common/json/sys/conf.json << EOF
{
"apiUrl" : "$URI_PREFIX/{0}/abvapi",
"apiLoginUrl" : "$URI_PREFIX/nuabvapi",
"apiResourceDlUrl" : "$URI_PREFIX/{0}/dl",
"bookShelfCount" : 15,
"bookListCount" : 15,
"screenlockTimeDefault" : 30,
"pushPageCount" : 5,
"pushTimePeriod" : 60,
"debug" : false,
"loginPage" : "index.html",
"anonymousLoginFlg" : false,
"anonymousLoginPath" : "test",
"anonymousLoginId" : "nologin",
"appName" : "ABookWebCL",
"appVersion" : "0.0.1",
"optMusicMode" : 1,
"previewFlg" : false
}
EOF
}
modify_htaccess "$PROTOCOL://$DOMAIN/acms/webvw/"
modify_api "$PROTOCOL://$DOMAIN/acms"
#!/bin/sh
PROTOCOL=$1
DOMAIN=$2
modify_api()
{
URI_PREFIX=$1
cat > abvw/common/json/sys/conf.json << EOF
{
"apiUrl" : "$URI_PREFIX/{0}/abvapi",
"apiLoginUrl" : "$URI_PREFIX/nuabvapi",
"apiResourceDlUrl" : "$URI_PREFIX/{0}/dl",
"bookShelfCount" : 15,
"bookListCount" : 15,
"screenlockTimeDefault" : 30,
"pushPageCount" : 5,
"pushTimePeriod" : 60,
"debug" : false,
"loginPage" : "index.html",
"anonymousLoginFlg" : false,
"anonymousLoginPath" : "test",
"anonymousLoginId" : "nologin",
"appName" : "ABookWebCL",
"appVersion" : "0.0.1",
"optMusicMode" : 1,
"previewFlg" : true
}
EOF
}
modify_api "$PROTOCOL://$DOMAIN/acms"
#!/bin/sh
GIT_BRANCH=`git branch | grep '^\*' | awk '{print $2}'`
GIT_HASH=`git log --pretty="%h" -n 1`
DATE=`date +%Y%m%d%H%M%S`
#git pull
rm -fr ob
mkdir -p ob
cp -p *.html ob/
cp -rp abvw ob/
cp -p .htaccess ob/
cp -p favicon.ico ob/
cd ./packer
./obfuscate.sh
cd ../ob
tar zcvf ../webviewer_${GIT_BRANCH}_${GIT_HASH}_${DATE}.tar.gz .
#!/bin/sh
GIT_BRANCH=`git branch | grep '^\*' | awk '{print $2}'`
GIT_HASH=`git log --pretty="%h" -n 1`
DATE=`date +%Y%m%d%H%M%S`
tar zcvf webviewer_nonobfuscate_${GIT_BRANCH}_${GIT_HASH}_${DATE}.tar.gz *.ico *.html usermanual.files abvw .git
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment