diff --git a/Makefile b/Makefile index 1534886..e74bfb6 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,6 @@ test: @go test ./... build: test - 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 - 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 - 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 \ No newline at end of file + 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 + 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 + 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 \ No newline at end of file diff --git a/extractor/extractor.go b/extractor/extractor.go index fc55dc8..d340609 100644 --- a/extractor/extractor.go +++ b/extractor/extractor.go @@ -164,6 +164,7 @@ func (r *RepoExtractor) initAnalyzers() { librarydetection.AddAnalyzer("Perl", languages.NewPerlAnalyzer()) librarydetection.AddAnalyzer("PHP", languages.NewPHPAnalyzer()) librarydetection.AddAnalyzer("Python", languages.NewPythonScriptAnalyzer()) + librarydetection.AddAnalyzer("R", languages.NewRAnalyzer()) librarydetection.AddAnalyzer("Ruby", languages.NewRubyScriptAnalyzer()) librarydetection.AddAnalyzer("Rust", languages.NewRustAnalyzer()) librarydetection.AddAnalyzer("Swift", languages.NewSwiftAnalyzer())