Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 600 Bytes

maskfile.md

File metadata and controls

25 lines (23 loc) · 600 Bytes

front

set -x
find front | entr bun build front/index.js --outfile public/index.js

release

rm -rf bin
mkdir bin
version=`fx package.json .version`
# targets=("node18-linux-x64" "node18-macos-x64" "node18-win-x64")
gh release delete v${version} --yes
targets=("linux-x64")
for target in "${targets[@]}"; do
  f=rconf_${version}_${target}
  pkg -t "node18-$target" . --output bin/$f
  cd bin
  tar czf $f.tgz $f
  cd -
done

gh release create v${version} ./bin/*.tgz --title "rconf $version" --generate-notes --latest
curl https://i.jpillora.com/slavaGanzin/rconf! | bash