Skip to content

Commit

Permalink
Add dart language
Browse files Browse the repository at this point in the history
  • Loading branch information
devgg committed Apr 6, 2019
1 parent 0f8ea20 commit 0726b17
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
11 changes: 11 additions & 0 deletions frontend/src/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,17 @@ export default {
],
"https://cacm.acm.org/system/assets/0003/2653/092618_Kackr.io_Cobol.large.jpg?1537981861&1537981860"
),
dart: new LanguageMetadata(
"Dart",
getDefaultLinks(
"dart",
"dartlang.org",
"https://www.dartlang.org/guides/get-started",
"dart",
"dart"
),
"https://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Dart_programming_language_logo.svg/2880px-Dart_programming_language_logo.svg.png"
),
matlab: new LanguageMetadata(
"MATLAB",
getDefaultLinks(
Expand Down
5 changes: 3 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ const NUM_REPOSITORIES_PER_REQUEST: i64 = 50;
const MIN_NUM_ISSUES: i64 = 10;
const NUM_REPOSITORIES: usize = 40;
const NUM_RETRIES: i64 = 100;
const LANGUAGES: [&str; 29] = [
const LANGUAGES: [&str; 30] = [
"c",
"clojure",
"cobol",
"dart",
"php",
"cpp",
"csharp",
Expand Down Expand Up @@ -335,7 +336,7 @@ fn get_all_repositories(mut language: Language, gh_token: String) -> Language {
cursor: None,
language: language.name.clone(),
repositories: vec![],
timeout: 10.0,
timeout: 15.0,
finished: false,
seen_repositories: HashSet::new(),
};
Expand Down

0 comments on commit 0726b17

Please sign in to comment.