Release: smoke test bundlů/binárek před publikací, sjednocení metadat, README - #2
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1 (kromě rozhodnutí o licenci – viz níže)
Změny
scripts/smoke.sh: bez argumentu přeloží ukázkový zdroj (node asm80.js→ neprázdný.hexi.lst) a zavolá--helpuasm80-link/ar/run(ověřeno: všechny končí exit kódem 0); s argumentem<dir>testuje linuxové pkg binárky (asm80-linux, …)..github/workflows/release.yml: krok „Smoke test bundles“ před „Build binaries“, krok „Smoke test Linux binaries“ po sestavení; v jobupublish(needs: build-and-release) přednpm publishsmoke test bundlů anpm pack --dry-run..github/workflows/ci.yml(PR + push do master): smoke test +npm pack --dry-run.package.json:pkg.targets→node20-*(shodně s release workflow),scripts.test(smoke test),engines.node >= 18.README.md(instalace, příkazy, poznámka, že bundly jsou obfuskované a odkud pocházejí).asm80*.mjsbundly (nikde se na ně neodkazuje,filesje nezahrnuje). Pozor: build vasm80/IDEv2/asm80-cli/release.jsje případně může znovu vygenerovat.Ověření
npm test(smoke test bundlů) – OK; záměrně rozbitýasm80.js(throw new Error) → skript skončí s exit kódem 1.node20-linux-x64,node20-win-x64; pojmenováníasm80-linux,asm80-ar-linux, …) ascripts/smoke.sh distprošel.npm pack --dry-run: 4 bundly +package.json+README.md, 586 kB.Nedokončeno – vyžaduje rozhodnutí vlastníka
asm80/IDEv2/asm80-cli/package.json). Licenci jsem neměnil a souborLICENSEnepřidal – po rozhodnutí stačí přidatLICENSE(npm ho do balíčku zahrne automaticky) a sjednotitlicensev obou repech.