Skip to content

Commit

Permalink
Remove dist
Browse files Browse the repository at this point in the history
  • Loading branch information
Vorlias committed Aug 6, 2019
1 parent f807597 commit 34dc40f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3,208 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules
include
out
dist/lua
dist
13 changes: 6 additions & 7 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,20 +97,19 @@ function build_rbxmx {
function build_lua {
compile
echo "[net-build] compiling lua output..."
mkdir -p dist/lua
cp -r out/* dist/lua
cp -r include dist/lua/vendor
mkdir -p lualib
cp -r out/* lualib
cp -r include lualib/vendor

find dist/lua -name '*.d.ts' -delete

echo "[net-build] Output to ./dist/lua"
echo "[net-build] Output to ./lualib"
}

function lua_to_git {
#git add dist
git add dist
git commit -m "Copying to lua-rojo"
git subtree push --prefix dist origin lua-rojo
git add lualib
git subtree push --prefix dist origin lua
}

if ! [ -z "$RBXMX" ]; then
Expand Down
Loading

0 comments on commit 34dc40f

Please sign in to comment.