Sha256: 79f62716425b6c6c0a1812c009e78938fafd94526dd753d3b78b181ff09c52fa
Contents?: true
Size: 620 Bytes
Versions: 4
Compression:
Stored size: 620 Bytes
Contents
#!/bin/bash cd $(dirname $0)/.. # It's recommended to use the exact version of AnyCable-Go here version="<%= anycable_go_version %>" if [ ! -f ./bin/dist/anycable-go ]; then echo "AnyCable-go 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-go 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
4 entries across 4 versions & 1 rubygems