Skip to content

Commit

Permalink
Add R library detection
Browse files Browse the repository at this point in the history
Really in this case
  • Loading branch information
codersrankOrg committed Aug 1, 2022
1 parent 0f15203 commit e6c5dd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
1 change: 1 addition & 0 deletions extractor/extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit e6c5dd2

Please sign in to comment.