Skip to content

Commit

Permalink
feat: the command make should copy the build directory of a workspace…
Browse files Browse the repository at this point in the history
… too

(close #40)
  • Loading branch information
Christophe Nouguier committed Feb 22, 2019
1 parent 42200d1 commit 8b09d22
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions make-kargo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,15 @@ if [ -d .kargo ]; then
fi
mkdir .kargo

cp -R build .kargo/build
cp -R deploy .kargo/deploy
cp -R configs .kargo/configs
cp "$WORKSPACE"/.env .kargo/.

if [ -d "$WORKSPACE"/build ]; then
cp -R "$WORKSPACE"/build .kargo/.
fi

if [ -d "$WORKSPACE"/deploy ]; then
cp -R "$WORKSPACE"/deploy .kargo/.
fi
Expand All @@ -33,3 +38,4 @@ fi




0 comments on commit 8b09d22

Please sign in to comment.