Skip to content

Commit

Permalink
Add make serve to serve built HTML files
Browse files Browse the repository at this point in the history
  • Loading branch information
KucharczykL committed Nov 19, 2024
1 parent 1982055 commit c0c8acd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ $(yast_html_result): $(profile_result)
$(profile_result): $(dc_file) $(src_files)
$(daps_command) -vv -d $< $(profile_params) profile

serve:
# needs Python 3.7 for the --directory argument
python3 -m http.server --directory $$(find . -iname index.html -exec dirname {} \;)





0 comments on commit c0c8acd

Please sign in to comment.