You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/tasks/cssbundling/build.rake
+10-2
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,18 @@
1
1
namespace:cssdo
2
+
desc"Install JavaScript dependencies"
3
+
task:installdo
4
+
unlesssystem"yarn install"
5
+
raise"cssbundling-rails: Command install failed, ensure yarn is installed"
6
+
end
7
+
end
8
+
2
9
desc"Build your CSS bundle"
3
-
task:builddo
4
-
unlesssystem"yarn install && yarn build:css"
10
+
build_task=task:builddo
11
+
unlesssystem"yarn build:css"
5
12
raise"cssbundling-rails: Command css:build failed, ensure yarn is installed and `yarn build:css` runs without errors or use SKIP_CSS_BUILD env variable"
0 commit comments