Skip to content

Commit a79fbc1

Browse files
committed
Always run build:css on install
So application.css is never missing
1 parent ee740d4 commit a79fbc1

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

lib/install/bootstrap/install.rb

+1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@
1717
say %(Add "scripts": { "build:css": "#{build_script}" } to your package.json), :green
1818
else
1919
run %(npm set-script build:css "#{build_script}")
20+
run %(yarn build:css)
2021
end

lib/install/bulma/install.rb

+1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@
1010
say %(Add "scripts": { "build:css": "#{build_script}" } to your package.json), :green
1111
else
1212
run %(npm set-script build:css "#{build_script}")
13+
run %(yarn build:css)
1314
end

lib/install/postcss/install.rb

+1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@
1010
say %(Add "scripts": { "build:css": "#{build_script}" } to your package.json), :green
1111
else
1212
run %(npm set-script build:css "#{build_script}")
13+
run %(yarn build:css)
1314
end

lib/install/sass/install.rb

+1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
say %(Add "scripts": { "build:css": "#{build_script}" } to your package.json), :green
1010
else
1111
run %(npm set-script build:css "#{build_script}")
12+
run %(yarn build:css)
1213
end

lib/install/tailwind/install.rb

+1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@
1010
say %(Add "scripts": { "build:css": "#{build_script}" } to your package.json), :green
1111
else
1212
run %(npm set-script build:css "#{build_script}")
13+
run %(yarn build:css)
1314
end

0 commit comments

Comments
 (0)