Repo containing my solution to the Cantina coding problem.
Java 8
Apache Ant
ant build
To run tests: ant junit
To run command line:
export CLASSPATH=lib/jackson-annotations-2.11.2.jar:lib/jackson-core-2.11.2.jar:lib/jackson-databind-2.11.2.jar:dist/lib/Cantina.jar
java -cp $CLASSPATH cantina.CLI
The following selectors are supported:
- Class - simply enter a string with the node class.
- classNames - prefix the search string with a period, for example, .container
- Identifier - prefix the search string with a hash, for example, #apply
Example: Button#apply
Example: StackView.container.accessoryView