eolang 0.2.1 → 0.2.2
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/mvnw/pom.xml +3 -0
- package/package.json +1 -1
- package/src/mvnw.js +7 -1
- package/src/version.js +1 -1
package/mvnw/pom.xml
CHANGED
|
@@ -37,6 +37,9 @@ SOFTWARE.
|
|
|
37
37
|
<groupId>org.eolang</groupId>
|
|
38
38
|
<artifactId>eo-maven-plugin</artifactId>
|
|
39
39
|
<version>${eo.version}</version>
|
|
40
|
+
<configuration>
|
|
41
|
+
<excludeSources>.eoc/**</excludeSources>
|
|
42
|
+
</configuration>
|
|
40
43
|
</plugin>
|
|
41
44
|
<plugin>
|
|
42
45
|
<artifactId>maven-compiler-plugin</artifactId>
|
package/package.json
CHANGED
package/src/mvnw.js
CHANGED
|
@@ -59,7 +59,13 @@ function latest() {
|
|
|
59
59
|
module.exports = function mvnwSync(args) {
|
|
60
60
|
const home = path.resolve(__dirname, '../mvnw');
|
|
61
61
|
const bin = path.resolve(home, 'mvnw');
|
|
62
|
-
const params = args.concat([
|
|
62
|
+
const params = args.concat([
|
|
63
|
+
'-Deo.version=' + latest(),
|
|
64
|
+
'--errors',
|
|
65
|
+
'--batch-mode',
|
|
66
|
+
'--update-snapshots',
|
|
67
|
+
'--fail-fast',
|
|
68
|
+
]);
|
|
63
69
|
const cmd = bin + ' ' + params.join(' ');
|
|
64
70
|
console.log('+ ' + cmd);
|
|
65
71
|
const result = spawnSync(bin, params, {cwd: home, stdio: 'inherit'});
|
package/src/version.js
CHANGED