Skip to content

Commit

Permalink
Fix Python build
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed May 26, 2024
1 parent e45c411 commit 6f25688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/py/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ compile:
# called from workflow
sed -i.bak -e "s/{VERSION}/${VERSION}/" setup.py
go build -buildmode=c-shared -o src/minify/minify.so
mv setup.py.bak setup.py

build: compile
mv setup.py.bak setup.py
go mod init github.com/tdewolff/minify/bindings/js
go mod tidy
python -m build --sdist
Expand Down

0 comments on commit 6f25688

Please sign in to comment.