Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Test if the links are rebuilt before eosio is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjjzhao committed Jan 31, 2022
1 parent 6ad064a commit cd78515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cicd/test-package.run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ elif [[ $(yum --version 2>/dev/null) ]]; then # RHEL family packaging
elif [[ $(brew --version 2>/dev/null) ]]; then # homebrew packaging
perform 'brew update'
perform 'brew --version'
perform 'brew list --formula | xargs -I % sh -c "brew unlink %; brew link %"'
perform 'mkdir homebrew-eosio'
perform 'git init homebrew-eosio'
perform 'cp *.rb homebrew-eosio'
perform "sed -i.bk -e 's/url \".*\"/url \"http:\/\/127.0.0.1:7800\"/' homebrew-eosio/*.rb"
perform "pushd homebrew-eosio && git add *.rb && git commit -m 'test it!' && popd"
perform 'export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=false'
perform "brew tap eosio/eosio homebrew-eosio"
perform '{ python3 -m http.server 7800 & } && export HTTP_SERVER_PID=$!'
perform 'sleep 20s'
Expand Down

0 comments on commit cd78515

Please sign in to comment.