Skip to content

Commit

Permalink
use centralized tasks from repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mnyrop committed Oct 14, 2024
1 parent 8d1169b commit ea670a5
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 190 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ aperitiiif-cli
tmp
build/image
build/presentation
notes*
notes*
og_tasks
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
source 'https://rubygems.org'

gem 'aperitiiif', github: 'migrants-and-the-state/aperitiiif-cli', branch: 'main'
# gem 'aperitiiif', path: 'aperitiiif-cli'
gem 'og_tasks', github: 'migrants-and-the-state/og_tasks', branch: 'main'

group :development do
gem 'aws-sdk-s3', '~> 1'
gem 'dotenv'
gem 'pdf-reader'
gem 'rake'
end
9 changes: 8 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ GIT
safe_yaml
thor

GIT
remote: https://github.com/migrants-and-the-state/og_tasks.git
revision: 6c404a92eb070ff5cae56be9cbac387e1de077fa
branch: main
specs:
og_tasks (0.1.0)

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -145,8 +152,8 @@ DEPENDENCIES
aperitiiif!
aws-sdk-s3 (~> 1)
dotenv
og_tasks!
pdf-reader
rake

BUNDLED WITH
2.5.16
11 changes: 3 additions & 8 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
require 'fileutils'

require_relative 'lib/vars'
require_relative 'lib/utils'

Dir.glob("lib/tasks/*.rake").each { |r| load r }


require 'og_tasks'

spec = Gem::Specification.find_by_name 'og_tasks'
Dir.glob("#{spec.gem_dir}/lib/**/*.rake").each { |r| load r }
59 changes: 0 additions & 59 deletions lib/tasks/pdfs.rake

This file was deleted.

62 changes: 0 additions & 62 deletions lib/tasks/s3.rake

This file was deleted.

49 changes: 0 additions & 49 deletions lib/utils.rb

This file was deleted.

8 changes: 0 additions & 8 deletions lib/vars.rb

This file was deleted.

0 comments on commit ea670a5

Please sign in to comment.