-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
...aro100-Tools-Spec2.package/WAPharoControlPanel.class/class/runSeleniumServerInTerminal.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
commands | ||
runSeleniumServerInTerminal | ||
<script> | ||
|
||
"seasideRepository := self seasideIcebergRepository. | ||
repositoryLocation := seasideRepository location. | ||
location exists ifFalse:[ ^ Error signal: 'Could not find git checkout' ]." | ||
| bashScript | | ||
bashScript := 'npm install selenium-standalone && npx selenium-standalone install && npx selenium-standalone start &'. | ||
(LibC resultOfCommand: bashScript) inspect |
9 changes: 9 additions & 0 deletions
9
...pec2.package/WAPharoControlPanel.class/class/runSeleniumServerInTerminalMenuCommandOn..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
world menu | ||
runSeleniumServerInTerminalMenuCommandOn: builder | ||
|
||
<worldMenu> | ||
|
||
(builder item: 'Run Selenium Server in Terminal') | ||
parent: #Seaside; | ||
order: 3; | ||
action: [ self runSeleniumServerInTerminal ] |
6 changes: 6 additions & 0 deletions
6
...-Pharo100-Tools-Spec2.package/WAPharoControlPanel.class/class/seasideIcebergRepository.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
private | ||
seasideIcebergRepository | ||
|
||
^ IceRepository registry | ||
detect: [ :repository | repository workingCopy packages anySatisfy:[ :p | p packageName = 'Seaside-Core' ] ] | ||
ifNone: [ Error signal: 'Could not find the Seaside repository.' ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters