Skip to content

Commit

Permalink
structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Cui committed Feb 10, 2019
1 parent 0d2c119 commit 18e06c7
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 13 deletions.
File renamed without changes.
File renamed without changes.
9 changes: 0 additions & 9 deletions errbot-build.sh

This file was deleted.

14 changes: 14 additions & 0 deletions errbot-plugin/errbot-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh
set -x
DEST="/tmp/errbot"
rm -Rf "${DEST}"
mkdir -p "${DEST}"
cp config.py "${DEST}/"
cp Dockerfile "${DEST}/"
cp prepare.sh "${DEST}/"
cp requirements.txt "${DEST}/"
cp -Rf transbot "${DEST}/"
cp -Rf ../githubutil "${DEST}/transbot/githubutil"
cp -Rf ../gitutil "${DEST}/transbot/gitutil"
cp -Rf ../transutil "${DEST}/transbot/transutil"

4 changes: 2 additions & 2 deletions flask-build.sh → flask/flask-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ CODE=`uuidgen`
TMP="/tmp/$CODE"
mkdir -p "$TMP"

cp -Rf githubutil "$TMP"
cp config.yaml "$TMP"
cp -Rf ../githubutil "$TMP"
cp ../config/config.yaml "$TMP"
cp flask-requirements.txt "$TMP/requirements.txt"
cd "$TMP"

Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions gcp-build.sh → gcp-function/gcp-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ CODE=`uuidgen`
TMP="/tmp/$CODE"
mkdir -p "$TMP"

cp -Rf githubutil "$TMP"
cp config.yaml "$TMP"
cp -Rf ../githubutil "$TMP"
cp ../config/config.yaml "$TMP"
cp gcp-entry.py "$TMP/main.py"
cp gcp-requirements.txt "$TMP/requirements.txt"
cp ~/Downloads/permission.json "$TMP"
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 18e06c7

Please sign in to comment.