Skip to content

Commit c513867

Browse files
authored
Merge pull request #11800 from github/smowton/admin/delete-install-deps
Remove Go's install-deps.sh script
2 parents b3a3957 + 781e96e commit c513867

File tree

3 files changed

+2
-38
lines changed

3 files changed

+2
-38
lines changed

go/Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
all: extractor ql/lib/go.dbscheme install-deps
1+
all: extractor ql/lib/go.dbscheme
22

33
ifeq ($(OS),Windows_NT)
44
EXE = .exe
@@ -36,9 +36,6 @@ autoformat:
3636
check-formatting:
3737
test -z "$$(find . -path '**/vendor' -prune -or -type f -iname '*.go' ! -empty -print0 | xargs -0 grep -L "//\s*autoformat-ignore" | xargs gofmt -l)"
3838

39-
install-deps:
40-
bash scripts/install-deps.sh $(CODEQL_LOCK_MODE)
41-
4239
ifeq ($(QHELP_OUT_DIR),)
4340
# If not otherwise specified, compile qhelp to markdown in place
4441
QHELP_OUT_DIR := ql/src
@@ -75,7 +72,7 @@ tools-win64: $(addsuffix .exe,$(addprefix tools/win64/,$(BINARIES)))
7572
$(addsuffix .exe,$(addprefix tools/win64/,$(BINARIES))):
7673
env GOOS=windows GOARCH=amd64 go build -mod=vendor -o $@ ./extractor/cli/$(basename $(@F))
7774

78-
.PHONY: extractor-common extractor extractor-full install-deps
75+
.PHONY: extractor-common extractor extractor-full
7976
extractor-common: codeql-extractor.yml LICENSE ql/lib/go.dbscheme \
8077
tools/tokenizer.jar $(CODEQL_TOOLS)
8178
rm -rf $(EXTRACTOR_PACK_OUT)

go/README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,6 @@ It contains two major components:
99
- static analysis libraries and queries written in [CodeQL](https://codeql.github.com/docs/) that can be
1010
used to analyze such a database to find coding mistakes or security vulnerabilities.
1111

12-
## Installation
13-
14-
Clone this repository.
15-
16-
Run `scripts/install-deps.sh`. This will ensure that the necessary external CodeQL packs are
17-
downloaded to your machine. You will need to re-run this script whenever you pull new commits from
18-
the repo.
19-
20-
If you want to use the CodeQL extension for Visual Studio Code, import this repository into your VS
21-
Code workspace.
22-
2312
## Usage
2413

2514
To analyze a Go codebase, either use the [CodeQL command-line

go/scripts/install-deps.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)