Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ buildscript {
classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.1"
classpath "org.junit.platform:junit-platform-gradle-plugin:1.0.0-RC2"
}

// Extract models.
copy {
from tarTree(resources.gzip('src/main/resources/data/models.tar.gz'))
into file(projectDir.toString() + '/src/main/resources/data')
}
}

plugins {
Expand Down Expand Up @@ -120,14 +114,6 @@ sourceSets.main.java.srcDirs += 'build/generated/source/proto/main/java'
sourceSets.test.java.srcDirs += 'src/test/kotlin'
compileKotlin.dependsOn ':generateProto'

sourceSets {
main {
resources {
exclude 'data/models.tar.gz'
}
}
}

// Include dependent libraries in archive.
jar {
manifest {
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/app/hashers/RepoHasher.kt
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ class RepoHasher(private val localRepo: LocalRepo, private val api: Api,
}

private fun postRepoToServer() {
serverRepo.commits = listOf()
api.postRepo(serverRepo)
Logger.debug(serverRepo.toString())
}
Expand Down
7 changes: 4 additions & 3 deletions src/main/kotlin/app/ui/OpenState.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ class OpenState constructor(private val context: Context,
: ConsoleState {
override fun doAction() {
if (!configurator.isValidCredentials()) {
println("Sourcerer hashes your git repositories into intelligent "
+ "engineering profiles. If you don't have an account, "
+ "please, proceed to http://sourcerer.io/register.")
println("Sourcerer hashes your git repositories into intelligent " +
"engineering profiles.")
println("If you don't have an account, please, proceed to " +
"https://sourcerer.io/join")
} else {
println("Sourcerer. Use flag --help to list available commands.")
}
Expand Down
Binary file removed src/main/resources/data/models.tar.gz
Binary file not shown.