You've already forked mpbot-github
mirror of
https://github.com/macports/mpbot-github.git
synced 2026-03-31 14:46:03 -07:00
14 lines
281 B
Go
14 lines
281 B
Go
package ci
|
|
|
|
import (
|
|
"os/exec"
|
|
)
|
|
|
|
// Only deactivate ports to save time when a dependency
|
|
// is needed across builds. It should be able to avoid
|
|
// conflicts.
|
|
func DeactivateAllPorts() {
|
|
deactivateCmd := exec.Command("port", "-fp", "deactivate", "active")
|
|
deactivateCmd.Run()
|
|
}
|