Skip to content

Commit

Permalink
Merge pull request #1983 from googlefonts/generic-packer
Browse files Browse the repository at this point in the history
Make bundler actions generically named
  • Loading branch information
justvanrossum authored Jan 24, 2025
2 parents e295ab6 + 2097ea4 commit 837ac0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"scripts": {
"test": "mocha test-js --reporter spec",
"bundle-rollup": "rollup --bundleConfigAsCjs -c"
"bundle": "rollup --bundleConfigAsCjs -c"
},
"type": "module",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ source = "vcs"


[tool.hatch.build.hooks.custom]
path = "scripts/rollup_build_hook.py"
path = "scripts/bundler_build_hook.py"


[tool.hatch.build.hooks.vcs]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ def initialize(self, version, build_data):
if path.exists():
shutil.rmtree(path)
subprocess.check_output("npm install", shell=True)
subprocess.check_output("npm run bundle-rollup", shell=True)
subprocess.check_output("npm run bundle", shell=True)

0 comments on commit 837ac0c

Please sign in to comment.