Sha256: c01098ef8202575b544640d2c12dafbb188079157342aad47b616a44a405427c

Contents?: true

Size: 713 Bytes

Versions: 1

Compression:

Stored size: 713 Bytes

Contents

require "L2"
require_relative "db"

namespace :lesli do 
    namespace :db do

        desc "Drop, build, migrate & seed Lesli database (development only)"
        task :reset => :environment do |task, args|
            reset()
        end

        desc "Build, migrate & seed Lesli database"
        task :setup => :environment do |task, args|
            setup()
        end

        desc "Build, migrate & seed Lesli database"
        task :seed => :environment do |task, args|
            seed()
        end
    end
    namespace :babel do 
        desc "Scan and register labels"
        task :build => :environment do |task, args|
            Rake::Task['lesli_babel:scan'].invoke
        end 
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lesli-5.0.1 lib/tasks/lesli_tasks.rake