You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+9-7
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
Clafer Tools
2
2
=============
3
3
4
-
v0.4.4
4
+
v0.4.5
5
5
6
6
Integration of [Clafer Compiler and Instance Generators](http://clafer.org) into [Sublime Text 2/3](http://www.sublimetext.com/).
7
7
8
-
See release notes for [Clafer 0.4.4](http://www.clafer.org/2016/09/clafer-tools-044-released.html).
8
+
See release notes for [Clafer 0.4.5](http://www.clafer.org/2017/03/clafer-claferig-claferwiki-045-released.html).
9
9
10
10
Contributors
11
11
------------
@@ -28,9 +28,11 @@ Features and Usage
28
28
Installation
29
29
------------
30
30
31
-
1. Install [Sublime Text 3](http://www.sublimetext.com/3) or [Sublime Text 2](http://www.sublimetext.com/2)
31
+
1. Install [Sublime Text 3](http://www.sublimetext.com/3).
32
+
On Ubuntu, add the [WebUpd8 PPA](https://launchpad.net/~webupd8team/+archive/ubuntu/sublime-text-3) then execute `sudo apt install sublime-text-installer`.
* Unzip the contents of the folder `clafer-tools-0.4.4` into `Packages/Clafer-Bin`
44
-
* Make sure the folder structure is NOT `Packages/Clafer-Bin/clafer-tools-0.4.4`, that is, the contents of the folder `clafer-tools-0.4.4` are directly inside `Clafer-Bin`
45
-
* add `Clafer-Bin` to the variable `PATH`.
45
+
* Unzip the contents of the folder `clafer-tools-0.4.5` into `Packages/Clafer-Bin`
46
+
* Make sure the folder structure is NOT `Packages/Clafer-Bin/clafer-tools-0.4.5`, that is, the contents of the folder `clafer-tools-0.4.5` are directly inside `Clafer-Bin`
47
+
*(optional) add `Clafer-Bin` to the variable `PATH`.
46
48
4. On Windows only
47
49
* Alloy-based instance generator only works with 32bit Java on Windows and if you only have 64bit Java installation, you will see an error: `Exception in thread "main" java.lang.UnsatisfiedLinkError: no minisatproverx1 in java.library.path`.
* Unzip the contents of the folder `clafer-tools-0.4.4` into `Packages/Clafer-Bin`
11
-
* Make sure the folder structure is NOT `Packages/Clafer-Bin/clafer-tools-0.4.4`, that is, the contents of the folder `clafer-tools-0.4.4` are directly inside `Clafer-Bin`
10
+
* Unzip the contents of the folder `clafer-tools-0.4.5` into `Packages/Clafer-Bin`
11
+
* Make sure the folder structure is NOT `Packages/Clafer-Bin/clafer-tools-0.4.5`, that is, the contents of the folder `clafer-tools-0.4.5` are directly inside `Clafer-Bin`
12
12
* add `Clafer-Bin` to the variable `PATH`.
13
13
4. On Windows only
14
14
* Alloy-based instance generator only works with 32bit Java on Windows and if you only have 64bit Java installation, you will see an error: `Exception in thread "main" java.lang.UnsatisfiedLinkError: no minisatproverx1 in java.library.path`.
* set `default_extended_env` as `"default_extend_env": {"PATH": "C:/Program Files (x86)/Java/jdk1.8.0_102/bin;{PATH}"},`
23
23
24
-
* ClaferSMT in Clafer Tools 0.3.6.1 binary depends on the python package `bintrees`, to install execute `pip install bintrees` on Windows or `pip3 install bintrees` on Linux and Mac.
25
-
26
24
* On Linux and Mac
27
25
* the Python 3 executable is called `python3` and the best solution is to create a symlink called `python` pointing to `/usr/bin/python3`
28
26
* in `Packages/Clafer Tools` execute `ln -s /usr/bin/python3 python`.
@@ -39,3 +37,5 @@ To finish the installation
39
37
4. the workaround is to:
40
38
* create a symlink `sudo ln -s ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Clafer-Bin/clafer /usr/bin/clafer` so that `clafer` executable will be visible on the default `PATH`.
41
39
5. to conveniently use ClaferChocoIG, move the script `claferchocoig.sh` (included in Mac binary distro) to `/usr/bin` by executing `sudo mv ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Clafer-Bin/claferchocoig.sh /usr/bin`.
40
+
41
+
* ClaferSMT in Clafer Tools 0.3.6.1 binary depends on the python package `bintrees`, to install execute `pip install bintrees` on Windows or `pip3 install bintrees` on Linux and Mac.
0 commit comments