File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
VERSION=$1
4
4
5
+ if [ -z " $VERSION " ]; then
6
+ echo " Usage: $0 <version>"
7
+ exit 1
8
+ fi
9
+
5
10
printf " module Importmap\n VERSION = \" $VERSION \" \nend\n" > ./lib/importmap/version.rb
6
11
bundle
7
12
for gemfile in $( ls gemfiles/* .gemfile) ; do BUNDLE_GEMFILE=" $gemfile " bundle; done
Original file line number Diff line number Diff line change 2
2
3
3
VERSION=$1
4
4
5
+ if [ -z " $VERSION " ]; then
6
+ echo " Usage: $0 <version>"
7
+ exit 1
8
+ fi
9
+
5
10
curl -s " https://unpkg.com/es-module-shims@$VERSION /dist/es-module-shims.js" > app/assets/javascripts/es-module-shims.js
6
11
curl -s " https://ga.jspm.io/npm:es-module-shims@$VERSION /dist/es-module-shims.js" > app/assets/javascripts/es-module-shims.min.js
7
12
curl -s " https://ga.jspm.io/npm:es-module-shims@$VERSION /dist/es-module-shims.js.map" > app/assets/javascripts/es-module-shims.js.map
You can’t perform that action at this time.
0 commit comments