Sha256: e14f3463162ec31ab4efdd7a3fd0f3fbda0e7068633eff1549dece173b63adc6

Contents?: true

Size: 535 Bytes

Versions: 1

Compression:

Stored size: 535 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'genit/extensions'
require 'genit/project'
require 'genit/documents'
require 'genit/utils'
require 'genit/builders'
require 'genit/tags'
require 'genit/server'

require 'sass'

module Errors

  def error message
    puts "Error: #{message}"
    exit 1
  end

  def warning message
    puts "Warning: #{message}"
  end

end

module Genit
  include Errors

  PAGES_DIR = "src/pages"
  TEMPLATES_DIR = "src/templates"
  FRAGMENTS_DIR = "src/fragments"
  NEWS_DIR = "src/news"
  STYLES_DIR = "styles"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
genit-2.1 lib/genit.rb