HUB
Sign inSign up

risajef/autoproof

By risajef

•Updated about 1 year ago

A container to run Eiffel autoproof.

Image
0

1.5K

risajef/autoproof repository overview

A container to run Eiffel autoproof.

Start the container: Test_Volume should have a Eiffel project inside. (Remove EIFGENS first)

docker run -it -v ./Test_Volume/:/temp_volume risajef/autoproof:latest sh

You might be able to change the files from your host machine and verify it in the container.

Run:

apb -config /temp_volume/project.ecf -batch -c_compile -autoproof

If it does not work. Use this project.ecf:

<?xml version="1.0" encoding="ISO-8859-1"?>
<system xmlns="http://www.eiffel.com/developers/xml/configuration-1-23-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-23-0 http://www.eiffel.com/developers/xml/configuration-1-23-0.xsd" name="project" uuid="6CA2BCA8-E614-45A3-90B8-6D59E65EB3F0">
	<target name="project">
		<root all_classes="true"/>
		<capability>
			<void_safety support="none" use="none"/>
			<concurrency support="none" use="none"/>
		</capability>
		<file_rule>
			<exclude>/CVS$</exclude>
			<exclude>/EIFGENs$</exclude>
			<exclude>/\.git$</exclude>
			<exclude>/\.svn$</exclude>
		</file_rule>
		<option warning="warning" is_obsolete_iteration="true" manifest_array_type="mismatch_warning">
			<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
		</option>
		<setting name="console_application" value="true"/>
		<setting name="total_order_on_reals" value="false"/>
		<setting name="dead_code_removal" value="feature"/>
		<library name="base" location="$AP\library\base\base.ecf" />
		<cluster name="project" location=".\" recursive="true">
			<option warning="none" is_obsolete_iteration="true" manifest_array_type="mismatch_warning"/>
		</cluster>
	</target>
</system>

This is an example eiffel file:

class
	LINEAR_SEARCH

feature -- Basic operations
	linear_search
		do
			check False end
		end
end

Tag summary

Content type

Image

Digest

sha256:386c24026…

Size

760.8 MB

Last updated

over 1 year ago

docker pull risajef/autoproof