-
Notifications
You must be signed in to change notification settings - Fork 44
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
1 parent
1b6486f
commit dda01c0
Showing
5 changed files
with
15 additions
and
47 deletions.
There are no files selected for viewing
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,13 @@ | ||
#!/bin/bash | ||
|
||
go mod edit -require=moose/[email protected] | ||
go mod edit -require=moose/[email protected] | ||
go mod edit -replace=moose/events=./third-party/moose-events/nordvpnapp/moosenordvpnappgo | ||
go mod edit -replace=moose/worker=./third-party/moose-worker/mooseworkergo | ||
function revert_moose_patch { | ||
go mod edit -droprequire=moose/events | ||
go mod edit -droprequire=moose/worker | ||
go mod edit -dropreplace=moose/events | ||
go mod edit -dropreplace=moose/worker | ||
} | ||
trap revert_moose_patch EXIT |
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 |
---|---|---|
|
@@ -74,17 +74,7 @@ if [[ $tags == *"moose"* ]]; then | |
-X 'main.EventsDomain=${events_domain:-""}' \ | ||
-X 'main.EventsSubdomain=${EVENTS_SUBDOMAIN:-""}'" | ||
|
||
go mod edit -require=moose/[email protected] | ||
go mod edit -require=moose/[email protected] | ||
go mod edit -replace=moose/events=./third-party/moose-events/nordvpnapp/moosenordvpnappgo | ||
go mod edit -replace=moose/worker=./third-party/moose-worker/mooseworkergo | ||
function revert_moose_patch { | ||
go mod edit -droprequire=moose/events | ||
go mod edit -droprequire=moose/worker | ||
go mod edit -dropreplace=moose/events | ||
go mod edit -dropreplace=moose/worker | ||
} | ||
trap revert_moose_patch EXIT | ||
source "${WORKDIR}"/ci/add_moose.sh | ||
fi | ||
|
||
for program in ${!names_map[*]}; do # looping over keys | ||
|
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
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
This file was deleted.
Oops, something went wrong.