Sha256: 4bb39604d3bb9535ea385d15b7d2ef36e0b1f0b8228dc6fa967f852f57e3b69d

Contents?: true

Size: 539 Bytes

Versions: 4

Compression:

Stored size: 539 Bytes

Contents

module LNCS
  class Initialiser < Thor
    include Thor::Actions
    
    def self.source_root
      File.join(File.dirname(__FILE__), '..', '..', 'templates')
    end
    
    no_commands do
      def run
        copy_file 'manifest.json'
        copy_file 'main.tex'
        copy_file 'llncs.cls'
        copy_file 'sprmindx.sty'
        copy_file 'front_matter/organisation.tex'
        copy_file 'front_matter/preface.tex'
        copy_file 'front_matter/sponsors.tex'
        create_file 'titles/index.tex'
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lncs-0.0.4 lib/lncs/initialiser.rb
lncs-0.0.3 lib/lncs/initialiser.rb
lncs-0.0.2 lib/lncs/initialiser.rb
lncs-0.0.1 lib/lncs/initialiser.rb