Skip to content

Commit

Permalink
copy license to dist in github
Browse files Browse the repository at this point in the history
  • Loading branch information
Doridian committed Mar 2, 2024
1 parent 742e3a4 commit ec714a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- run: npm run lint
- run: npm run build
- run: npm run testOnly
- run: cp LICENSE dist/
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"util/loader_cjs.cjs",
"util/loader_cjs.d.cts"
],
"version": "1.0.6",
"version": "1.0.7",
"description": "Bindings for C Lua to JavaScript with Emscripten and WebAssembly",
"main": "util/loader_cjs.cjs",
"module": "util/loader_mjs.mjs",
Expand All @@ -21,7 +21,7 @@
"type": "module",
"scripts": {
"clean": "emmake make clean && rm -rf ./dist && tsc --build --clean && cd src/ && tsc --build --clean && cd ..",
"build": "mkdir -p dist && cp -f LICENSE dist/LICENSE && cp -f src/luajs.d.ts dist/luajs.d.mts && cp -f src/luajs.d.ts dist/luajs.d.cts && cd src/ && tsc && cd .. && tsc && emmake make install",
"build": "mkdir -p dist && cp -f src/luajs.d.ts dist/luajs.d.mts && cp -f src/luajs.d.ts dist/luajs.d.cts && cd src/ && tsc && cd .. && tsc && emmake make install",
"lint": "echo 'Lint not set up yet'",
"fmt": "echo 'Format not set up yet'",
"test": "npm run build && npm run testOnly",
Expand Down

0 comments on commit ec714a2

Please sign in to comment.