Skip to content

Commit

Permalink
Always run build:css on install
Browse files Browse the repository at this point in the history
So application.css is never missing
  • Loading branch information
dhh committed Dec 3, 2021
1 parent ee740d4 commit a79fbc1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/install/bootstrap/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
say %(Add "scripts": { "build:css": "#{build_script}" } to your package.json), :green
else
run %(npm set-script build:css "#{build_script}")
run %(yarn build:css)
end
1 change: 1 addition & 0 deletions lib/install/bulma/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
say %(Add "scripts": { "build:css": "#{build_script}" } to your package.json), :green
else
run %(npm set-script build:css "#{build_script}")
run %(yarn build:css)
end
1 change: 1 addition & 0 deletions lib/install/postcss/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
say %(Add "scripts": { "build:css": "#{build_script}" } to your package.json), :green
else
run %(npm set-script build:css "#{build_script}")
run %(yarn build:css)
end
1 change: 1 addition & 0 deletions lib/install/sass/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
say %(Add "scripts": { "build:css": "#{build_script}" } to your package.json), :green
else
run %(npm set-script build:css "#{build_script}")
run %(yarn build:css)
end
1 change: 1 addition & 0 deletions lib/install/tailwind/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
say %(Add "scripts": { "build:css": "#{build_script}" } to your package.json), :green
else
run %(npm set-script build:css "#{build_script}")
run %(yarn build:css)
end

0 comments on commit a79fbc1

Please sign in to comment.