Skip to content

Commit b39a89e

Browse files
committed
remove template/package.json
1 parent 5804814 commit b39a89e

File tree

3 files changed

+4
-256
lines changed

3 files changed

+4
-256
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ dist/std.min.scm: dist/std.scm
5858
Makefile: templates/Makefile
5959
$(SED) -e "s/{{VER""SION}}/"$(VERSION)"/g" templates/Makefile > Makefile
6060

61-
package.json: templates/package.json .$(VERSION)
62-
$(SED) -e "s/{{VER}}/"$(VERSION)"/g" templates/package.json > package.json || true
61+
package.json: .$(VERSION)
62+
$(SED) -i 's/"version": "[^"]\+"/"version": "$(VERSION)"/' package.json
6363

6464
assets/classDiagram.svg: assets/classDiagram
6565
$(MERMAID) -i assets/classDiagram -o assets/classDiagram.svg

templates/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ dist/std.min.scm: dist/std.scm
5858
Makefile: templates/Makefile
5959
$(SED) -e "s/{{VER""SION}}/"$(VERSION)"/g" templates/Makefile > Makefile
6060

61-
package.json: templates/package.json .$(VERSION)
62-
$(SED) -e "s/{{VER}}/"$(VERSION)"/g" templates/package.json > package.json || true
61+
package.json: .$(VERSION)
62+
$(SED) -i 's/"version": "[^"]\+"/"version": "$(VERSION)"/' package.json
6363

6464
assets/classDiagram.svg: assets/classDiagram
6565
$(MERMAID) -i assets/classDiagram -o assets/classDiagram.svg

templates/package.json

Lines changed: 0 additions & 252 deletions
This file was deleted.

0 commit comments

Comments
 (0)