Skip to content

Commit e6c5dd2

Browse files
committed
Add R library detection
Really in this case
1 parent 0f15203 commit e6c5dd2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ test:
44
@go test ./...
55

66
build: test
7-
export CGO_ENABLED=0 export GOOS=linux && export GOARCH=amd64 && go build -a -tags netgo -ldflags '-w -X main.version=v2.3.2' -o repo_info_extractor_linux
8-
export CGO_ENABLED=0 export GOOS=darwin && export GOARCH=amd64 && go build -a -tags netgo -ldflags '-w -X main.version=v2.3.2' -o repo_info_extractor_osx
9-
export CGO_ENABLED=0 export GOOS=windows && export GOARCH=amd64 && go build -a -tags netgo -ldflags '-w -X main.version=v2.3.2' -o repo_info_extractor_windows.exe
7+
export CGO_ENABLED=0 export GOOS=linux && export GOARCH=amd64 && go build -a -tags netgo -ldflags '-w -X main.version=v2.4.2' -o repo_info_extractor_linux
8+
export CGO_ENABLED=0 export GOOS=darwin && export GOARCH=amd64 && go build -a -tags netgo -ldflags '-w -X main.version=v2.4.2' -o repo_info_extractor_osx
9+
export CGO_ENABLED=0 export GOOS=windows && export GOARCH=amd64 && go build -a -tags netgo -ldflags '-w -X main.version=v2.4.2' -o repo_info_extractor_windows.exe

extractor/extractor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ func (r *RepoExtractor) initAnalyzers() {
164164
librarydetection.AddAnalyzer("Perl", languages.NewPerlAnalyzer())
165165
librarydetection.AddAnalyzer("PHP", languages.NewPHPAnalyzer())
166166
librarydetection.AddAnalyzer("Python", languages.NewPythonScriptAnalyzer())
167+
librarydetection.AddAnalyzer("R", languages.NewRAnalyzer())
167168
librarydetection.AddAnalyzer("Ruby", languages.NewRubyScriptAnalyzer())
168169
librarydetection.AddAnalyzer("Rust", languages.NewRustAnalyzer())
169170
librarydetection.AddAnalyzer("Swift", languages.NewSwiftAnalyzer())

0 commit comments

Comments
 (0)