Remove dialyzer task and rename package to faxien:package.
This commit is contained in:
parent
f7b1b51872
commit
f4a9d2dd09
1 changed files with 3 additions and 13 deletions
16
Rakefile
16
Rakefile
|
@ -16,17 +16,7 @@ end
|
|||
# dependency chain early enough
|
||||
file 'c_src/bdberl_drv.c' => [DB_LIB]
|
||||
|
||||
task :package do
|
||||
target_dir = package_dir
|
||||
Dir.mkdir "#{target_dir}/priv/bin"
|
||||
FileUtils.cp_r Dir.glob('c_src/system/bin/*'), "#{target_dir}/priv/bin", :verbose => false
|
||||
end
|
||||
|
||||
task :dialyzer do
|
||||
sh "dialyzer -Iinclude -c ebin/bdberl.beam\
|
||||
-Werror_handling\
|
||||
-Wunmatched_returns\
|
||||
-Wunderspecs\
|
||||
-Woverspecs\
|
||||
-Wspecdiffs | tee dialyzer.log"
|
||||
task 'faxien:package' do
|
||||
Dir.mkdir "#{PACKAGE_DIR}/priv/bin"
|
||||
FileUtils.cp_r Dir.glob('c_src/system/bin/*'), "#{PACKAGE_DIR}/priv/bin", :verbose => false
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue