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=pollen
 7VERSION=0.0.4
 8
 9all: clean test build
10
11node_modules:
12	npm install
13
14${SCOPE}-${NAME}-${VERSION}.wasm: node_modules
15	npm run asbuild:release
16	mv ${NAME}.wasm ${SCOPE}-${NAME}-${VERSION}.wasm
17
18build: ${SCOPE}-${NAME}-${VERSION}.wasm
19
20test:
21	echo "nothing found!"
22
23clean:
24	rm -rf ${SCOPE}-${NAME}-${VERSION}.wasm