File: smoke-test

package info (click to toggle)
ruby-markdown-it-html5-embed 1.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 64 kB
  • sloc: sh: 15; makefile: 14; ruby: 4
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
cd foo

cat >> app/assets/javascripts/application.js <<EOF
# =require markdown-it-html5-embed
EOF

cat >> Gemfile <<EOF
gem 'markdown-it-html5-embed'
EOF

bundle install --local
bundle exec rake assets:precompile