Skip to content

Commit

Permalink
fix: s/opal/lib/
Browse files Browse the repository at this point in the history
  • Loading branch information
yhara committed Jun 2, 2019
1 parent d6237b5 commit d641264
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require 'opal'
require_relative 'opal/dxopal/version'
require_relative 'lib/dxopal/version'

desc "Build dxopal.js"
task :build => ["build/dxopal.js"]
Expand All @@ -14,7 +14,7 @@ file "build/dxopal.min.js" => "build/dxopal.js" do |t|
end

file "build/dxopal.js" => Dir["opal/**/*.rb"] do |t|
Opal.append_path("opal")
Opal.append_path("lib")
js = Opal::Builder.build("dxopal.rb").to_s
File.write(t.name, js)
end
Expand Down
2 changes: 1 addition & 1 deletion dxopal.gemspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require_relative 'opal/dxopal/version.rb'
require_relative 'lib/dxopal/version.rb'

Gem::Specification.new do |spec|
spec.name = "dxopal"
Expand Down

0 comments on commit d641264

Please sign in to comment.