File tree Expand file tree Collapse file tree 2 files changed +32
-4
lines changed Expand file tree Collapse file tree 2 files changed +32
-4
lines changed Original file line number Diff line number Diff line change 11/* .tar.gz
22/* .zip
3+ /bun.lockb
34/cli.rb
45/dart-sass /
56/embedded_sass.proto
67/embedded_sass_pb.rb
7- /package-lock.json
88/node_modules /
9+ /package-lock.json
10+ /pnpm-lock.yaml
911/protoc.exe
1012/ruby /
13+ /yarn.lock
Original file line number Diff line number Diff line change @@ -8,9 +8,24 @@ task install: %w[cli.rb] do
88 Rake ::Task [ 'embedded_sass_pb.rb' ] . invoke unless File . exist? ( 'embedded_sass_pb.rb' )
99end
1010
11- CLEAN . include %w[ protoc.exe ruby *.proto *.tar.gz *.zip ]
12-
13- CLOBBER . include %w[ dart-sass cli.rb embedded_sass_pb.rb node_modules package-lock.json ]
11+ CLEAN . include %w[
12+ protoc.exe
13+ ruby
14+ *.proto
15+ *.tar.gz
16+ *.zip
17+ ]
18+
19+ CLOBBER . include %w[
20+ dart-sass
21+ cli.rb
22+ embedded_sass_pb.rb
23+ node_modules
24+ bun.lockb
25+ package-lock.json
26+ pnpm-lock.yaml
27+ yarn.lock
28+ ]
1429
1530file 'protoc.exe' do |t |
1631 fetch ( ENV . fetch ( 'PROTOC_BIN' ) { SassConfig . default_protoc } , t . name )
3146
3247file 'node_modules/sass' do
3348 sh 'npm' , 'install'
49+ rescue StandardError
50+ begin
51+ sh 'yarn' , 'install'
52+ rescue StandardError
53+ begin
54+ sh 'pnpm' , 'install'
55+ rescue StandardError
56+ sh 'bun' , 'install'
57+ end
58+ end
3459end
3560
3661task 'dart-sass' do
You can’t perform that action at this time.
0 commit comments