Skip to content

Commit

Permalink
Run gulp through npx
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Jul 28, 2021
1 parent ff18a36 commit b78f485
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def docs_live(session):
docs_dir = "docs/"
additional_dependencies = ()

build_command = "./node_modules/.bin/gulp build"
build_command = "npx gulp build"
_install_this_project_with_flit(session, extras=["doc"], editable=True)
session.install("sphinx-autobuild", *additional_dependencies)

Expand All @@ -62,7 +62,7 @@ def docs_live(session):
@nox.session(reuse_venv=True)
def docs(session):
# Generate relevant files prior to installation
session.run("gulp", "build", external=True)
session.run("npx", "gulp", "build", external=True)

_install_this_project_with_flit(session, extras=["doc"], editable=False)

Expand Down Expand Up @@ -139,7 +139,7 @@ def release(session):
)

# Build the package
session.run("gulp", "build", external=True)
session.run("npx", "gulp", "build", external=True)
session.run("flit", "build")
session.run("twine", "check", *glob.glob("dist/*"))

Expand Down

0 comments on commit b78f485

Please sign in to comment.