mirror of
https://github.com/littensy/charm.git
synced 2026-10-22 21:01:38 +00:00
build: rename lint, add pack script
This commit is contained in:
parent
505f43c6e3
commit
a5c3827298
3 changed files with 12 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
run: pnpm install
|
||||
|
||||
- name: Check code quality
|
||||
run: pnpm lint
|
||||
run: pnpm check
|
||||
|
||||
- name: Build models
|
||||
run: pnpm build
|
||||
|
|
|
|||
9
bin/pack.sh
Normal file
9
bin/pack.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
rm -f src/*/*.tgz
|
||||
|
||||
for package in src/*; do
|
||||
(cd $package && pnpm pack)
|
||||
done
|
||||
|
||||
for tarball in src/*/*.tgz; do
|
||||
echo "pnpm add $(realpath $tarball)"
|
||||
done
|
||||
|
|
@ -1,8 +1,9 @@
|
|||
{
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"lint": "sh bin/check.sh",
|
||||
"build": "sh bin/build.sh",
|
||||
"check": "sh bin/check.sh",
|
||||
"pack": "sh bin/pack.sh",
|
||||
"wally": "wally install && rojo sourcemap --output sourcemap.json"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue