-options argument is always loaded relative to Build.xml

Open
#1,178 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
build-system, cli

Research direction

Start at the hxcpp command entry point that handles Build.xml and the -options argument. Check how Options.txt is resolved and what happens when the specified file is absent; done means resolving it from the current directory and reporting a missing manually specified file instead of silently ignoring it.

Written by the indexing model from the issue text.

Description

When running:

haxelib run hxcpp ./path/Build.xml -options ./Options.txt

it would make sense for Options.txt to be loaded from the current directory, not from ./path/Options.txt. Hxcpp currently always resolves it relative to the Build.xml directory.

It would also be nice to see an error if a manually specified Options file doesn't exist. Right now it is just ignored silently.

Dominant language
C++
Stars
330
Forks
237
Avg merge
1d 3h
Merged PRs (30d)
20

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from HaxeFoundation/hxcpp

All issues in HaxeFoundation/hxcpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.