Sha256: d2db6d664d3d3ef1dd239849b7a37f9d07968f811388496cddd76a9a531fa950

Contents?: true

Size: 645 Bytes

Versions: 9

Compression:

Stored size: 645 Bytes

Contents

# libs
require 'digest/sha1'
require 'json'
require 'pathname'
require 'open3'

# gem files
require_relative './lux_assets/base'
require_relative './lux_assets/asset'
require_relative './lux_assets/cli'
require_relative './lux_assets/element'
require_relative './lux_assets/manifest'

# lux framework bindings
if defined?(Lux)
  require_relative './vendor/lux/misc'
  require_relative './vendor/lux/assets_helper'
end

# rake bindings
if defined?(Rake)
  require_relative './vendor/tasks.rb'
end

# create needed dirs unless found
for dir in ['./tmp/', './tmp/assets', './public', './public/assets']
  Dir.mkdir(dir) unless Dir.exist?(dir)
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
lux_assets-0.2.24 ./lib/lux_assets.rb
lux_assets-0.2.23 ./lib/lux_assets.rb
lux_assets-0.2.21 ./lib/lux_assets.rb
lux_assets-0.2.20 ./lib/lux_assets.rb
lux_assets-0.2.19 ./lib/lux_assets.rb
lux_assets-0.2.15 ./lib/lux_assets.rb
lux_assets-0.2.14 ./lib/lux_assets.rb
lux_assets-0.2.11 ./lib/lux_assets.rb
lux_assets-0.2.9 ./lib/lux_assets.rb