build: separate package identity from storage paths

This commit is contained in:
2026-08-13 05:37:56 +09:00
parent 5f0f544157
commit c3df0afeb0
11 changed files with 1167 additions and 505 deletions

View File

@@ -55,6 +55,10 @@ WWTEST_BIN = $(BIN)/wwtest
WWTEST_SRC = cmd/wwtest/wwtest.ww \
internal/wwpackage/package.ww lib/os/exec/exec.ww \
lib/ascii/ascii.ww lib/bytes/bytes.ww \
lib/crypto/math/math.ww lib/crypto/sha256/sha256.ww \
lib/endian/big.ww lib/endian/little.ww lib/endian/network.ww \
lib/errors/errors.ww lib/hash/hash.ww \
lib/io/empty.ww lib/io/io.ww lib/io/stream.ww lib/io/types.ww \
lib/encoding/utf8/utf8.ww lib/math/floats.ww lib/math/math.ww \
lib/os/os.ww lib/rt/malloc.ww \
lib/strconv/decimal.ww lib/strconv/ftos.ww lib/strconv/ftos_data.ww \
@@ -99,6 +103,10 @@ PACKAGE_TEST_BIN = $(BIN)/test_package
PACKAGE_TEST_SRC = test/package/package_test.ww lib/os/exec/exec.ww \
lib/test/run.ww lib/fnmatch/fnmatch.ww \
lib/ascii/ascii.ww lib/bytes/bytes.ww \
lib/crypto/math/math.ww lib/crypto/sha256/sha256.ww \
lib/endian/big.ww lib/endian/little.ww lib/endian/network.ww \
lib/errors/errors.ww lib/hash/hash.ww \
lib/io/empty.ww lib/io/io.ww lib/io/stream.ww lib/io/types.ww \
lib/encoding/utf8/utf8.ww lib/os/os.ww lib/rt/malloc.ww \
lib/strings/strings.ww lib/temp/temp.ww lib/time/time.ww \
lib/types/types.ww
@@ -256,6 +264,10 @@ $(BIN)/w6l_ww: selfhost/cmd/w6l/main.ww selfhost/cmd/w6l/sym.ww \
$(BIN)/ww_ww: selfhost/cmd/ww/main.ww lib/os/exec/exec.ww \
lib/os/os.ww lib/rt/malloc.ww \
lib/time/time.ww lib/types/types.ww \
lib/crypto/math/math.ww lib/crypto/sha256/sha256.ww \
lib/endian/big.ww lib/endian/little.ww lib/endian/network.ww \
lib/errors/errors.ww lib/hash/hash.ww \
lib/io/empty.ww lib/io/io.ww lib/io/stream.ww lib/io/types.ww \
lib/strings/strings.ww lib/bytes/bytes.ww lib/encoding/utf8/utf8.ww \
lib/ww/syntax/lex.ww lib/ww/syntax/tok.ww lib/ww/syntax/ast.ww \
lib/ww/syntax/parse.ww lib/ww/syntax/expr.ww \