Skip to content

Commit

Permalink
Update sass related make cmds after changing file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
podliashanyk committed Mar 5, 2024
1 parent 40e790c commit 2bcacef
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: dummy clean distclean testclean docclean doc cssclean webpacksass .FORCE
.PHONY: dummy clean distclean testclean docclean doc cssclean sassbuild sasswatch .FORCE

dummy:
@echo "'make' is no longer used for deployment. See 'doc/intro/install.rst'"
Expand Down Expand Up @@ -30,8 +30,10 @@ doc/reference/alerttypes.rst: .FORCE
cssclean:
-rm -rf python/nav/web/static/css

webpacksass: cssclean
-(cd python/nav/web/static/js && npm install && npm run build:sass:prod)
-echo "\n *** Manually disable running of setuptool's build_sass command and sass-watch.sh script. Then run docker-compose up to test web app with CSS files built by Webpack. *** \n"
sassbuild: cssclean
-(cd frontend && npm ci && npm run build:sass:prod)

sasswatch:
-(cd frontend && npm run build:sass:prod)

.FORCE:

0 comments on commit 2bcacef

Please sign in to comment.