mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
dev: added support of VSC script for checking current card rules (see wiki for instructions)
This commit is contained in:
parent
d1e12595d9
commit
7575c32bb5
1 changed files with 7 additions and 0 deletions
|
|
@ -2192,6 +2192,13 @@ public class VerifyCardDataTest {
|
|||
// - multiple searches: name1;class2;name3
|
||||
String cardSearches = "Spark Double;AbandonedSarcophagus";
|
||||
|
||||
// command line support, e.g. task runner from Visual Studio Code
|
||||
// see setup instructions in https://github.com/magefree/mage/wiki/Setting-up-your-Development-Environment#visual-studio-code-vsc
|
||||
// example: mvn install test "-Dxmage.showCardInfo=${fileBasenameNoExtension}" "-Dsurefire.failIfNoSpecifiedTests=false" "-Dxmage.build.tests.treeViewRunnerShowAllLogs=true" -Dtest=VerifyCardDataTest#test_showCardInfo
|
||||
if (System.getProperty("xmage.showCardInfo") != null) {
|
||||
cardSearches = System.getProperty("xmage.showCardInfo");
|
||||
}
|
||||
|
||||
// prepare DBs
|
||||
CardScanner.scan();
|
||||
MtgJsonService.cards();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue