Skip to content

Commit

Permalink
Update make static commands
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljcollinsuk committed Dec 1, 2023
1 parent b6c22ac commit 0bc9e57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!make

build:
make build-static
build-static:
make build-css
make build-js

build-static:
build-css:
mkdir -p static/assets/fonts
mkdir -p static/assets/images
cp -R node_modules/govuk-frontend/govuk/assets/fonts/. static/assets/fonts
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This will run black, mypy, flake8 and isort before a commit to check for failure
There is a Makefile to wrap commands used to build the static files. When setting up the project, run all steps using the command:

```commandline
make build
make build-static
```

Or look at the Makefile and run the individual commands as you require.

0 comments on commit 0bc9e57

Please sign in to comment.