This repository was archived by the owner on Nov 25, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 577
577
</if >
578
578
<if >
579
579
<or >
580
- <available property =" js-required" />
581
- <available property =" css-required" />
580
+ <isset property =" js-required" />
581
+ <isset property =" css-required" />
582
582
</or >
583
583
<then >
584
584
<echo message =" REBUILDING JS FOR PLUGIN ${plugin}" />
592
592
<property name =" grunt-target" value =" " />
593
593
<if >
594
594
<and >
595
- <available property =" js-required" />
596
- <available property =" has-css-path" />
597
- <not ><available property =" css-required" /></not >
595
+ <isset property =" js-required" />
596
+ <isset property =" has-css-path" />
597
+ <not ><isset property =" css-required" /></not >
598
598
</and >
599
599
<then >
600
+ <echo message =" --> Target type:js only" />
600
601
<property name =" grunt-target" value =" type:js" />
601
602
</then >
602
603
<elseif >
603
- <available property =" css-required" />
604
- <available property =" has-js-path" />
605
- <not ><available property =" js-required" /></not >
604
+ <isset property =" css-required" />
605
+ <isset property =" has-js-path" />
606
+ <not ><isset property =" js-required" /></not >
606
607
<then >
608
+ <echo message =" --> Target type:css only" />
607
609
<property name =" grunt-target" value =" type:css" />
608
610
</then >
609
611
</elseif >
645
647
646
648
<target name =" grunt" >
647
649
<if >
648
- <available property =" grunt_target" />
650
+ <isset property =" grunt_target" />
649
651
<then >
650
652
<property name =" command" value =" grunt ${grunt_target}" />
651
653
</then >
You can’t perform that action at this time.
0 commit comments