logic: fixed custom commands
* allow filesystem to rename temp db after indexing * changed custom command variable syntax * adjusted test checklist for custom commands
This commit is contained in:
@@ -6,8 +6,7 @@
|
||||
* Click "Add Source Group"
|
||||
* Select "Custom" -> "Custom Command Source Group"
|
||||
* Click "Next"
|
||||
* Click "Next"
|
||||
* Add "python add.py $PROJECT_PATH $DB_PATH $DB_VERSION $SOURCE_PATH" to "Custom Command"
|
||||
* Add "python add.py %{PROJECT_FILE_PATH} %{DATABASE_FILE_PATH} %{DATABASE_VERSION} %{SOURCE_FILE_PATH}" to "Custom Command"
|
||||
* Add "./src" to "Files & Directories to Index"
|
||||
* Add "**excl.txt" to "Excluded Files & Directories"
|
||||
* Add ".txt" to "Source File Extensions"
|
||||
@@ -28,9 +27,10 @@
|
||||
* Click "Cancel"
|
||||
* Click "Edit Project"
|
||||
* Change "Custom Command" to "pyt add.py"
|
||||
* Click "Next"
|
||||
* Validate "Warning appears that $SOURCE_PATH is not defined in command"
|
||||
* Change "Custom Command" to "pyt add.py $SOURCE_PATH"
|
||||
* Click "Save"
|
||||
* Validate "Warning appears that %{SOURCE_FILE_PATH} is not defined in command"
|
||||
* Change "Custom Command" to "pyt add.py %{SOURCE_FILE_PATH}"
|
||||
* Click "Save"
|
||||
* Click "Refresh" button
|
||||
* Click "Start"
|
||||
* Validate "Log View appears showing errors that command execution failed".
|
||||
|
||||
Reference in New Issue
Block a user