mirror of
https://github.com/usetrmnl/terminus.git
synced 2026-08-13 14:29:27 -07:00
No longer necessary now that these have been converted into jobs managed by our worker service. Milestone: minor
13 lines
310 B
Ruby
Executable File
13 lines
310 B
Ruby
Executable File
#! /usr/bin/env ruby
|
|
# frozen_string_literal: true
|
|
|
|
$VERBOSE = true
|
|
|
|
jemalloc_path = Dir["/usr/lib/*/libjemalloc.so.2"]
|
|
ENV["LD_PRELOAD"] = jemalloc_path.first unless ENV.key?("LD_PRELOAD") || jemalloc_path.empty?
|
|
|
|
system "bundle exec hanami assets compile"
|
|
system "bundle exec hanami db migrate"
|
|
|
|
exec(*ARGV)
|