Module: InchCI::Worker::Project

Defined in:
lib/inch_ci/worker/project.rb,
lib/inch_ci/worker/project/build.rb,
lib/inch_ci/worker/project/build_json.rb,
lib/inch_ci/worker/project/build_tags.rb,
lib/inch_ci/worker/project/update_hook.rb,
lib/inch_ci/worker/project/update_info.rb,
lib/inch_ci/worker/project/build/calculate_diff.rb,
lib/inch_ci/worker/project/build/generate_badge.rb,
lib/inch_ci/worker/project/build/save_build_data.rb,
lib/inch_ci/worker/project/build/handle_worker_output.rb

Defined Under Namespace

Modules: Build, BuildJSON, BuildTags Classes: UpdateHook, UpdateInfo

Constant Summary collapse

EXTERNALLY_BUILD =
['elixir']
STATUS_SCHEDULED =
Store::STATUS_SCHEDULED
STATUS_CANCELLED =
'cancelled'
STATUS_RUNNING =
'running'

Class Method Summary collapse

Class Method Details

.build_on_inch_ci?(language) ⇒ Boolean

Returns whether or not the given language can be built locally on Inch CI.

Returns:

  • (Boolean)

    whether or not the given language can be built locally on Inch CI


14
15
16
# File 'lib/inch_ci/worker/project.rb', line 14

def self.build_on_inch_ci?(language)
  !EXTERNALLY_BUILD.include?(language.to_s.downcase)
end