Skip to content

Commit

Permalink
Merge 0ae8d2f into 9810f60
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Dec 14, 2021
2 parents 9810f60 + 0ae8d2f commit 79336e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Releases

* Unreleased
- Development improvements:
- Default make_css to `web/cobrands` rather than `web`.

* v4.0 (3rd December 2021)
- Front end improvements:
- Multi-page form reporting.
Expand Down
6 changes: 3 additions & 3 deletions bin/make_css
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ my $sass = CSS::Sass->new(
# Get directories from the command line, defaulting to 'web' if none.
# We need absolute paths so that the include files lookup works.
my @dirs = map { m{/} ? $_ : "web/cobrands/$_" } @ARGV;
@dirs = 'web' unless @dirs;
@dirs = 'web/cobrands' unless @dirs;
@dirs = map { path($_)->absolute->stringify } @dirs;

# Initial compilation, to also discover all the included files.
Expand Down Expand Up @@ -164,8 +164,8 @@ make_css [options] [dirs ...]
--style, -t CSS output style (one of nested, expanded, compact, compressed)
--help this help message
If no directories are specified, any .scss files under web/ that do not begin
with a "_" will be processed. "web/cobrands/" may be omitted from a given
If no directories are specified, any .scss files under web/cobrands that do not
begin with a "_" will be processed. "web/cobrands/" may be omitted from a given
directory.
=cut

0 comments on commit 79336e2

Please sign in to comment.