Skip to content

Commit

Permalink
Removing accidentally commited SDK
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
  • Loading branch information
bzz committed Aug 29, 2018
1 parent b8ab6fe commit 30cdc9f
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 1,390 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@

# src-d/ci
.ci
build
build

# lookout
lookout
sdk/
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
- name: "Generated code"
before_install:
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- ./_tools/install-lookout-latest.sh
script:
- dep ensure -v
- make no-changes-in-commit
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $ lookout review -v ipv4://localhost:2001 \
To update lookout SDK to the [latest version](https://github.com/src-d/lookout/releases/latest) do
```
wget https://github.com/src-d/lookout/releases/download/v0.x.x/lookout_sdk_v0.x.x._<os>_<arg>.tar.gz
tar xvf lookout_sdk_*
tar xvf lookout_sdk_*.tar.gz
mv lookout_sdk_*/sdk .
mv lookout_sdk_*/lookout .
```
Expand Down
9 changes: 7 additions & 2 deletions _tools/install-lookout-latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,17 @@ if [[ "${PIPESTATUS[0]}" -ne 0 || "${PIPESTATUS[1]}" -ne 0 || "${PIPESTATUS[3]}
exit 2
fi

if ! tar -xvzf lookout_sdk_* ; then
if ! tar -xvzf lookout_sdk_*.tar.gz ; then
echo "Unable to extract lookout release archive" >&2
exit 2
fi

if ! mv lookout_sdk_*/lookout . ; then
echo "Unable to move file" >&2
echo "Unable to move lookout binary file" >&2
exit 2
fi

if ! mv lookout_sdk_*/sdk . ; then
echo "Unable to move SDK dir" >&2
exit 2
fi
202 changes: 0 additions & 202 deletions sdk/LICENSE

This file was deleted.

Loading

0 comments on commit 30cdc9f

Please sign in to comment.