diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-10 09:34:28 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-10 09:34:28 +0000 |
commit | 5b3b3cf5da7c994092c1eb44fef2e142d1e744f1 (patch) | |
tree | ac33c485353fa036c3ef72f235e6e6134e68eed8 /sca-cpp/trunk/modules/wsgi/wsgi-package | |
parent | 5a390791d3049d415d98507be8b8ed29f523ecf0 (diff) |
Added a WSGI store test case, plus a few fixes to get it working.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@921271 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rwxr-xr-x | sca-cpp/trunk/modules/wsgi/wsgi-package | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/wsgi/wsgi-package b/sca-cpp/trunk/modules/wsgi/wsgi-package new file mode 100755 index 0000000000..28756f9494 --- /dev/null +++ b/sca-cpp/trunk/modules/wsgi/wsgi-package @@ -0,0 +1,30 @@ +#!/bin/sh + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +# Package a WSGI app for upload +here=`readlink -f $0`; here=`dirname $here` +pwd=`pwd` +root=`readlink -f $pwd` + +rm -rf target +mkdir -p target +cd target +ls $here/*.py | grep -v "\-test.py" | xargs -i -t ln -s -f {} +ls $root | grep -v "target" | xargs -i -t ln -s -f $root/{} + |