From 921509b1489377bd1eb6f3415435165f04858c57 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Fri, 15 Oct 2021 13:32:22 +0200 Subject: [PATCH] Move app to lib dir --- Dockerfile | 2 +- bin/run.rb | 2 +- app.rb => lib/app.rb | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename app.rb => lib/app.rb (100%) diff --git a/Dockerfile b/Dockerfile index 1decd82..9bc4a61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ ENV GEM_HOME=${LAMBDA_TASK_ROOT} COPY Gemfile Gemfile.lock ./ RUN bundle install -COPY app.rb . +COPY lib/ . COPY tracks/ tracks/ CMD [ "app.Exercism::CountLinesOfCode.process" ] diff --git a/bin/run.rb b/bin/run.rb index 921a924..972d88f 100755 --- a/bin/run.rb +++ b/bin/run.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby -require("./app") +require("./lib/app") event = { "track" => ARGV[0], diff --git a/app.rb b/lib/app.rb similarity index 100% rename from app.rb rename to lib/app.rb