diff --git a/.gitignore b/.gitignore index a14702c..5dbf2a5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ node_modules # output +bin out dist *.tgz @@ -32,3 +33,5 @@ report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json # Finder (MacOS) folder config .DS_Store + +*.html diff --git a/.run/build b/.run/build new file mode 100755 index 0000000..7d6831e --- /dev/null +++ b/.run/build @@ -0,0 +1,21 @@ +#!/usr/bin/env bash +# Cross-complile buildmd + +# Clean +rm -rf bin + +# Linux x64 +bun build --compile --target=bun-linux-x64 ./src/index.ts --outfile bin/buildmd-linux-x64 + +# Linux Arm64 +bun build --compile --target=bun-linux-arm64 ./src/index.ts --outfile bin/buildmd-linux-arm64 + +# Windows x64 +bun build --compile --target=bun-windows-x64 ./src/index.ts --outfile bin/buildmd-windows-x64 + +# Apple Silicon +bun build --compile --target=bun-darwin-arm64 ./src/index.ts --outfile bin/buildmd-apple-silicon + +# Legacy Apple +bun build --compile --target=bun-darwin-x64 ./src/index.ts --outfile bin/buildmd-apple-intel + diff --git a/README.md b/README.md index 2009ba4..61a1d89 100644 --- a/README.md +++ b/README.md @@ -48,3 +48,4 @@ If no template file is discovered, `buildmd` will inject a default template that `buildmd` will automatically look for a `_style.css` file in the current working directory, unless an alternate stylesheet is specified with the `--stylesheet` or `-s` option. The contents of the discovered stylesheet file will be available in the template as `%stylesheet%`. In the event that no stylesheet is found, `buildmd` will inject a default stylesheet. + diff --git a/package.json b/package.json index fbd5235..91e2583 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { - "name": "packmd", + "name": "@endeavorance/packmd", "module": "index.ts", "type": "module", "private": true, + "version": "0.0.1", "devDependencies": { "@types/bun": "latest" },