Sha256: 10d665e712f1a24f55d9fbac33a0309f7564cb6e806e59fcbcb130edee529480
Contents?: true
Size: 884 Bytes
Versions: 40
Compression:
Stored size: 884 Bytes
Contents
# frozen_string_literal: true require File.expand_path("base.rb", __dir__) def local_build? File.exist?(ext_path("appsignal-agent")) && ( File.exist?(ext_path("libappsignal.dylib")) || File.exist?(ext_path("libappsignal.so")) ) && File.exist?(ext_path("appsignal.h")) end task :default do fail_install_on_purpose_in_test! library_type = "dynamic" report["language"]["implementation"] = "jruby" report["build"]["library_type"] = library_type next unless check_architecture if local_build? report["build"]["source"] = "local" else archive = download_archive(library_type) next unless archive next unless verify_archive(archive, library_type) unarchive(archive) end successful_installation rescue => e fail_installation_with_error(e) ensure create_dummy_makefile unless installation_succeeded? write_report end
Version data entries
40 entries across 40 versions & 1 rubygems