eiffelstudio: use preferred style

This commit is contained in:
Dominyk Tiller 2016-07-26 19:21:14 +01:00
parent 22cf2dfda1
commit 54c5531edd
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

@ -30,19 +30,19 @@ class Eiffelstudio < Formula
prefix.install Dir["Eiffel_16.05/*"]
bin.mkpath
env = { :ISE_EIFFEL => prefix, :ISE_PLATFORM => ise_platform }
(bin + "ec").write_env_script(prefix+"studio/spec/#{ise_platform}/bin/ec", env)
(bin + "ecb").write_env_script(prefix+"studio/spec/#{ise_platform}/bin/ecb", env)
(bin + "estudio").write_env_script(prefix+"studio/spec/#{ise_platform}/bin/estudio", env)
(bin + "finish_freezing").write_env_script(prefix+"studio/spec/#{ise_platform}/bin/finish_freezing", env)
(bin + "compile_all").write_env_script(prefix+"tools/spec/#{ise_platform}/bin/compile_all", env)
(bin + "iron").write_env_script(prefix+"tools/spec/#{ise_platform}/bin/iron", env)
(bin + "syntax_updater").write_env_script(prefix+"tools/spec/#{ise_platform}/bin/syntax_updater", env)
(bin + "vision2_demo").write_env_script(prefix+"vision2_demo/spec/#{ise_platform}/bin/vision2_demo", env)
(bin/"ec").write_env_script(prefix/"studio/spec/#{ise_platform}/bin/ec", env)
(bin/"ecb").write_env_script(prefix/"studio/spec/#{ise_platform}/bin/ecb", env)
(bin/"estudio").write_env_script(prefix/"studio/spec/#{ise_platform}/bin/estudio", env)
(bin/"finish_freezing").write_env_script(prefix/"studio/spec/#{ise_platform}/bin/finish_freezing", env)
(bin/"compile_all").write_env_script(prefix/"tools/spec/#{ise_platform}/bin/compile_all", env)
(bin/"iron").write_env_script(prefix/"tools/spec/#{ise_platform}/bin/iron", env)
(bin/"syntax_updater").write_env_script(prefix/"tools/spec/#{ise_platform}/bin/syntax_updater", env)
(bin/"vision2_demo").write_env_script(prefix/"vision2_demo/spec/#{ise_platform}/bin/vision2_demo", env)
end
test do
# More extensive testing requires the full test suite
# which is not part of this package.
system "#{prefix}/studio/spec/#{ise_platform}/bin/ec", "-version"
system prefix/"studio/spec/#{ise_platform}/bin/ec", "-version"
end
end