Update file paths
This commit is contained in:
parent
4b6f4a589d
commit
0a1fec6949
1 changed files with 2 additions and 2 deletions
4
Rakefile
4
Rakefile
|
@ -22,7 +22,7 @@ task full: %w(clean compile test)
|
||||||
|
|
||||||
def gemspec
|
def gemspec
|
||||||
@gemspec ||= begin
|
@gemspec ||= begin
|
||||||
file = File.expand_path('../blake2.gemspec', __FILE__)
|
file = File.expand_path('../blake2b.gemspec', __FILE__)
|
||||||
eval(File.read(file), binding, file)
|
eval(File.read(file), binding, file)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -35,7 +35,7 @@ end
|
||||||
desc "Build the gem"
|
desc "Build the gem"
|
||||||
task :gem => [:gemspec, :build] do
|
task :gem => [:gemspec, :build] do
|
||||||
mkdir_p "pkg"
|
mkdir_p "pkg"
|
||||||
sh "gem build blake2.gemspec"
|
sh "gem build blake2b.gemspec"
|
||||||
mv "#{gemspec.full_name}.gem", "pkg"
|
mv "#{gemspec.full_name}.gem", "pkg"
|
||||||
|
|
||||||
require 'digest/sha2'
|
require 'digest/sha2'
|
||||||
|
|
Loading…
Add table
Reference in a new issue