Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
stable(rpc-docs): avoid recursive copy (#9613)
Browse files Browse the repository at this point in the history
* stable: avoid recursive cp in rpc-docs

* rpc-docs: remove cd ..
  • Loading branch information
ordian committed Sep 21, 2018
1 parent 1b3b115 commit 7658d22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/gitlab-rpc-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ upload_files() {
git push --tags
}

PROJECT_DIR=$(pwd)
RPC_TRAITS_DIR="rpc/src/v1/traits"

setup_git
cd ..
clone_repos
cp -r $PROJECT_DIR jsonrpc/.parity
mkdir -p "jsonrpc/.parity/$RPC_TRAITS_DIR"
cp $RPC_TRAITS_DIR/*.rs "jsonrpc/.parity/$RPC_TRAITS_DIR"
cd jsonrpc
build_docs
cd ..
Expand Down

0 comments on commit 7658d22

Please sign in to comment.