Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Commit

Permalink
Add more build files to extractor based on analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
kuznecpl committed Jan 4, 2017
1 parent 57b6e82 commit d7cbc37
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion classification/feature_extraction/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

class HasBuildFileExtractor(FeatureExtractor):
# TODO: Add more build files
build_files = ['build.gradle', 'composer.json', 'makefile' 'package.json', 'pom.xml']
build_files = ['.travis.yml', 'appveyor.yml', 'circle.yml', 'CMakeLists.txt', 'cmake', 'tox.ini', 'setup.py',
'build.gradle', 'gradle', 'gradlew', 'composer.json', 'makefile' 'package.json', 'pom.xml',
'requirements.txt', 'manifest.json', 'Package.swift']

def _init_features(self):
self.features = [Feature('Has build file')]
Expand Down

0 comments on commit d7cbc37

Please sign in to comment.