Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 46 lines (37 sloc) 1.104 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
package sbt

object KeyRanks
{
// task and setting ranks, used to prioritize displaying information
// main tasks
final val APlusTask = 4
final val ATask = 5
final val AMinusTask = 6

// main settings
final val APlusSetting = 9
final val ASetting = 10
final val AMinusSetting = 11

// less major tasks or tasks that print useful information
final val BPlusTask = 29
final val BTask = 30
final val BMinusTask = 31

// secondary settings
final val BPlusSetting = 39
final val BSetting = 40
final val BMinusSetting = 41

// advanced settings
final val CSetting = 100
// advanced tasks
final val CTask = 200
// explicit settings
final val DSetting = 10000
// explicit tasks
final val DTask = 20000

final val MainTaskCutoff = AMinusTask
final val MainSettingCutoff = AMinusSetting
final val MainCutoff = math.max(AMinusTask, AMinusSetting)

final val DefaultTaskRank = (ATask + BTask)/2
final val DefaultInputRank = ATask // input tasks are likely a main task
final val DefaultSettingRank = (ASetting + BSetting) / 2

// implementation details
val Invisible = Int.MaxValue
}
Something went wrong with that request. Please try again.