mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
585: Add a line to the makefile to run the examples on a python serve… (#689)
* 585: Add a line to the makefile to run the examples on a python server with one line command * Build exs and run server with previous makefile cmds Co-authored-by: Todd Keech <tkeech1@hotmail.com> Co-authored-by: mariana <marianameireles@protonmail.com>
This commit is contained in:
@@ -73,6 +73,12 @@ examples:
|
||||
cp -R ./build/ ./examples/build
|
||||
@echo "To serve examples run: $(conda_run) python -m http.server 8080 --directory examples"
|
||||
|
||||
# run prerequisites and serve pyscript examples at http://localhost:8000/examples/
|
||||
run-examples: setup build examples
|
||||
make examples
|
||||
npm install
|
||||
make dev
|
||||
|
||||
test:
|
||||
make examples
|
||||
make test-ts
|
||||
|
||||
Reference in New Issue
Block a user