In order for this tool to find the dependencies, the files must contain a directive with the following format:
require ‘relative/path/from/root’
In case of a circular dependency, the tool will print an error and exit.
In case of a missing dependency, the tool will print a warning and continue.
- Run the application.
- Enter the path to the root directory. (Can be relative or absolute)
- Enter the path to the output file. (Can be relative or absolute)
To test the tool, you can use example/
folder. It should work without any errors and warnings.
- Run the application.
- Type
example
- Press enter.
- Type
output.txt
- Press enter.
The tool will print a mering order and create a file output.txt
in the root directory with the merged content.