Skip to content

Commit

Permalink
#350 paths on --target
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 26, 2024
1 parent cfa71aa commit f9b2322
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/commands/jeo/assemble.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ module.exports = function(opts) {
.concat(
[
`-Djeo.version=${opts.jeoVersion}`,
`-Djeo.unroll-phi.sourcesDir=${path.resolve(opts.xmirs)}`,
`-Djeo.unroll-phi.outputDir=${path.resolve(opts.unrolled)}`,
`-Djeo.assemble.sourcesDir=${path.resolve(opts.unrolled)}`,
`-Djeo.assemble.outputDir=${path.resolve(opts.classes)}`,
`-Djeo.unroll-phi.sourcesDir=${path.resolve(opts.target, opts.xmirs)}`,
`-Djeo.unroll-phi.outputDir=${path.resolve(opts.target, opts.unrolled)}`,
`-Djeo.assemble.sourcesDir=${path.resolve(opts.target, opts.unrolled)}`,
`-Djeo.assemble.outputDir=${path.resolve(opts.target, opts.classes)}`,
]
),
opts.target, opts.batch
Expand Down
4 changes: 2 additions & 2 deletions src/commands/jeo/disassemble.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ module.exports = function(opts) {
.concat(
[
`-Djeo.version=${opts.jeoVersion}`,
`-Djeo.disassemble.sourcesDir=${path.resolve(opts.classes)}`,
`-Djeo.disassemble.outputDir=${path.resolve(opts.xmirs)}`,
`-Djeo.disassemble.sourcesDir=${path.resolve(opts.target, opts.classes)}`,
`-Djeo.disassemble.outputDir=${path.resolve(opts.target, opts.xmirs)}`,
]
),
opts.target, opts.batch
Expand Down
1 change: 1 addition & 0 deletions test/commands/jeo/test_disassemble.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ describe('jeo:disassemble', function() {
'jeo:disassemble',
'--verbose',
'--jeo-version=0.6.11',
'--target', home,
'--classes', '.',
'--xmirs', '.',
]);
Expand Down

0 comments on commit f9b2322

Please sign in to comment.