Disable downloading sources from internal repo
authorIgor Kulaychuk <i.kulaychuk@samsung.com>
Mon, 13 Nov 2017 19:30:33 +0000 (22:30 +0300)
committerIgor Kulaychuk <i.kulaychuk@samsung.com>
Mon, 13 Nov 2017 19:30:33 +0000 (22:30 +0300)
README.md
init.sh [deleted file]

index 17b5328a71f2a49a9048e7ccac1db6eb56fbcb18..73d23d648ef77f6cca5419e9f05e85def7a3e2c3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -22,9 +22,8 @@ The debugger sources are located in https://github.sec.samsung.net/i-kulaychuk/c
 
 3. Build the `netcoredbg` package
 
-   Clone the repo, run `init.sh` script to download debugger sources and build as usual:
+   Clone the repo and build as usual:
    ```
-       ./init.sh
        gbs build -A armv7l --include-all --spec netcoredbg.spec
    ```
 
diff --git a/init.sh b/init.sh
deleted file mode 100755 (executable)
index b06679c..0000000
--- a/init.sh
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-
-BASEDIR=$(dirname "$0")
-
-FILES="
-       breakpoints.cpp
-       breakpoints.h
-       commands.cpp
-       common.h
-       cputil.h
-       debugger.h
-       expr.cpp
-       expr.h
-       frames.cpp
-       frames.h
-       jmc.cpp
-       main.cpp
-       modules.cpp
-       modules.h
-       platform.cpp
-       platform.h
-       symbolreader.cpp
-       symbolreader.h
-       torelease.h
-       typeprinter.cpp
-       typeprinter.h
-       valueprint.cpp
-       valueprint.h
-       valuewalk.cpp
-       valuewalk.h
-       varobj.cpp
-       varobj.h
-"
-
-OWNER=i-kulaychuk
-REPO=coreclr
-TOKEN=9b20b7ffeff3e85174696955d272f2e1bc37678c
-REF=debugger
-
-for f in $FILES; do
-       LOCATION=src/debug/netcoredbg/$f
-       echo "Fetching $LOCATION"
-       curl \
-               --header "Authorization: token $TOKEN" \
-               --header "Accept: application/vnd.github.v3.raw" \
-               -o $BASEDIR/$LOCATION \
-               https://github.sec.samsung.net/api/v3/repos/$OWNER/$REPO/contents/$LOCATION?ref=$REF
-done
-
-LOCATION=src/ToolBox/SOS/NETCore/SymbolReader.cs
-echo "Fetching $LOCATION"
-curl \
-       --header "Authorization: token $TOKEN" \
-       --header "Accept: application/vnd.github.v3.raw" \
-       -o $BASEDIR/src/debug/netcoredbg/SymbolReader.cs \
-       https://github.sec.samsung.net/api/v3/repos/$OWNER/$REPO/contents/$LOCATION?ref=$REF