@@ -13,22 +13,35 @@ apply them to the input given on STDIN.
13
13
How to Install
14
14
==============
15
15
16
- The easiest way to run ` strans ` is by installing it via flatpak. It
17
- assumes that you have the
16
+ ` strans ` is distributed as an AppImage for Linux and as a DMG for MacOs.
17
+ Download the latest ` strans ` from
18
+ [ releases] ( https://github.com/Inventitech/strans/releases ) .
18
19
19
- ` flatpak install flathub org.freedesktop.Platform//18.08 org.freedesktop.Sdk//18.08 `
20
+ ## Linux
21
+ Our AppImage should run on practically any recent linux Desktop distribution.
20
22
21
- runtime installed on your system.
23
+ After downloading, simply do
22
24
23
- After downloading the latest ` strans.flatpak ` from
24
- [ releases] ( https://github.com/Inventitech/strans/releases ) , install it
25
- via
25
+ `
26
+ chmod +x strans-linux.AppImage
27
+ ./strans-linux.AppImage
28
+ `
26
29
27
- ` sudo flatpak install strans.flatpak `
30
+ To install it system-wide as ` strans ` , just
28
31
29
- > Note: This standalone Flatpak package will not auto-update.
32
+ ` sudo cp strans-linux.AppImage /usr/bin/strans `
30
33
31
- How to Run
34
+ ## MacOs
35
+ After mounting the dmg and copying ` strans.app ` into /Applications, it might be necessary to
36
+
37
+ ```
38
+ chmod +x /Applications/strans.app/Contents/MacOS/strans
39
+ /Applications/strans.app/Contents/MacOS/strans
40
+ ```
41
+ to run ` strans ` .
42
+
43
+
44
+ How to Use
32
45
==========
33
46
```
34
47
# With before and after example
@@ -77,7 +90,7 @@ without StackOverflow and Perl, but instead with pure joy!
77
90
78
91
```
79
92
printf "Moritz Beller\nGeorgios Gousios" |
80
- dotnet strans.dll -b "First Last" -a "FL"
93
+ strans -b "First Last" -a "FL"
81
94
```
82
95
83
96
neatly outputs
@@ -109,7 +122,7 @@ and call
109
122
110
123
```
111
124
printf "Moritz Beller\nGeorgios Gousios\nAndy Emil Zaidman" |
112
- dotnet strans.dll --example-file example-transformations
125
+ strans --example-file example-transformations
113
126
```
114
127
115
128
And, voila, the output is
@@ -125,8 +138,8 @@ transformation rule that satisfies all examples given to it. Simply
125
138
having the last FML example would not be enough, because it would miss
126
139
the case where only two names are available.
127
140
128
- How to Build for Developing
129
- ===========================
141
+ How to Develop
142
+ ==============
130
143
131
144
You need [ dotnet] ( https://dotnet.microsoft.com/ ) to run ` strans ` .
132
145
@@ -137,7 +150,7 @@ dotnet restore
137
150
dotnet publish -c Release
138
151
```
139
152
140
- An alias (in your bashrc, ...) makes ` strans ` integrate seamlessly in
153
+ An alias (in your bashrc, ...) can make ` strans ` integrate seamlessly in
141
154
a Unix environment:
142
155
143
156
```
0 commit comments