File: smoke-test

package info (click to toggle)
ruby-jquery-atwho-rails 1.5.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 160 kB
  • sloc: ruby: 84; sh: 12; makefile: 5
file content (20 lines) | stat: -rwxr-xr-x 269 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

exec 2>&1
set -ex


cd $ADTTMP
rails new foo-$1
cd foo-$1

cat >> app/assets/javascripts/application.js <<EOF
# =require jquery.atwho
EOF

cat >> Gemfile <<EOF
gem "jquery-atwho-rails", "~> 1.5"
EOF

bundle install --local
bundle exec rake assets:precompile