eolang 0.27.0 → 0.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -1
- package/package.json +2 -2
- package/src/commands/lint.js +1 -1
- package/src/version.js +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# EOLANG Command Line
|
|
1
|
+
# EOLANG Command Line Tool-Kit
|
|
2
2
|
|
|
3
3
|
[](https://www.elegantobjects.org)
|
|
4
4
|
[](https://www.jetbrains.com/idea/)
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
[](https://hitsofcode.com/view/github/objectionary/eoc)
|
|
10
10
|
[](https://github.com/objectionary/eoc/blob/master/LICENSE.txt)
|
|
11
11
|
|
|
12
|
+
This is a command-line tool-kit for [EO](https://www.eolang.org)
|
|
13
|
+
programming languages, allowing you to compile EO programs, test, dataize,
|
|
14
|
+
and check for errors.
|
|
15
|
+
|
|
12
16
|
First, you install [npm][npm-install] and [Java SE][java-se].
|
|
13
17
|
|
|
14
18
|
Then, you install [eolang][npm] package:
|
|
@@ -50,6 +54,7 @@ to binaries (e.g., `.class`)
|
|
|
50
54
|
* `link` puts all binaries together into a single executable binary
|
|
51
55
|
* `dataize` dataizes a single object from the executable binary
|
|
52
56
|
* `test` dataizes all visible unit tests
|
|
57
|
+
* `lint` finds style-related errors in EO and XMIR files
|
|
53
58
|
* `jeo:disassemble` converts Java `.class` files to `.xmir`
|
|
54
59
|
(via [jeo](https://github.com/objectionary/jeo-maven-plugin))
|
|
55
60
|
* `jeo:assemble` converts `.xmir` files to Java `.class` files
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eolang",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.1",
|
|
4
4
|
"author": "Yegor Bugayenko <yegor256@gmail.com> (https://www.yegor256.com/)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "objectionary/eoc",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"xmlhttprequest": "1.8.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"eslint": "9.
|
|
44
|
+
"eslint": "9.17.0",
|
|
45
45
|
"eslint-config-google": "0.14.0",
|
|
46
46
|
"grunt": "1.6.1",
|
|
47
47
|
"grunt-contrib-clean": "2.0.1",
|
package/src/commands/lint.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = function(opts) {
|
|
|
36
36
|
const extra = [
|
|
37
37
|
`-Deo.failOnWarning=${opts.easy ? 'false' : 'true'}`,
|
|
38
38
|
];
|
|
39
|
-
if (semver.gte(opts.parser, '0.45.0')) {
|
|
39
|
+
if (opts.parser.endsWith('-SNAPSHOT') || semver.gte(opts.parser, '0.45.0')) {
|
|
40
40
|
return mvnw(
|
|
41
41
|
['eo:lint'].concat(flags(opts)).concat(extra),
|
|
42
42
|
opts.target, opts.batch
|
package/src/version.js
CHANGED