diff --git a/Makefile b/Makefile index bd07f1a..ae5ca91 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ +.PHONY: build +build: build-lib build-web + # Yes, this is a bit funky. See "Upgrading/changing dependencies" in README.md # for details. bun.lock: package-lock.json bun pm migrate --save-text-lockfile --force -.PHONY: build -build: build-lib build-web - .PHONY: build-lib build-lib: setup bun run script/build-lib.ts diff --git a/script/build-lib.ts b/script/build-lib.ts index eefd076..9672022 100644 --- a/script/build-lib.ts +++ b/script/build-lib.ts @@ -28,3 +28,5 @@ await writeFile( ".cubing-icon:before {\n vertical-align: -15%;", ), ); + +console.log(`The library has been built at: ${LIB_OUTPUT_DIR}`); diff --git a/script/build-web.ts b/script/build-web.ts index 33dcade..b444df1 100644 --- a/script/build-web.ts +++ b/script/build-web.ts @@ -118,3 +118,5 @@ await writeFile(join(SITE_OUTPUT_DIR, HTML_INDEX_FILENAME), dom.serialize()); await cp(LIB_OUTPUT_DIR, SITE_OUTPUT_DIR, { recursive: true, }); + +console.log(`The web site has been built at: ${SITE_OUTPUT_DIR}`);