GitRoot
Craft your forge, Build your project, Grow your community freely
1# SPDX-FileCopyrightText: 2025 Romain Maneschi <romain@gitroot.dev>
2#
3# SPDX-License-Identifier: EUPL-1.2
4
5SCOPE=gitroot
6NAME=stigma
7VERSION=0.0.2
8
9all: clean test build
10
11node_modules:
12 npm install
13
14${SCOPE}-${NAME}-${VERSION}.wasm: node_modules
15 node embed.js
16 npm run asbuild:release
17 mv ${NAME}.wasm ${SCOPE}-${NAME}-${VERSION}.wasm
18
19build: ${SCOPE}-${NAME}-${VERSION}.wasm
20
21test:
22 echo "nothing found!"
23
24clean:
25 rm -rf ${SCOPE}-${NAME}-${VERSION}.wasm