Sha256: 6f7a96df89ccba51e61cf4e51296913d93cc99ee00701d9a027daa0f3ed8a0d7
Contents?: true
Size: 625 Bytes
Versions: 18
Compression:
Stored size: 625 Bytes
Contents
#!/bin/bash cd $(dirname $0)/.. # It's recommended to use the exact version of AnyCable here version="<%= anycable_go_version %>" if [ ! -f ./bin/dist/anycable-go ]; then echo "AnyCable server is not installed, downloading..." ./bin/rails g anycable:download --version=$version --bin-path=./bin/dist fi curVersion=$(./bin/dist/anycable-go -v) if [[ "$version" != "latest" ]]; then if [[ "$curVersion" != "$version"* ]]; then echo "AnyCable server version is not $version, downloading a new one..." ./bin/rails g anycable:download --version=$version --bin-path=./bin/dist fi fi ./bin/dist/anycable-go $@
Version data entries
18 entries across 9 versions & 1 rubygems