Skip to content

Commit

Permalink
feat: start with a blank railworks-tstl-template
Browse files Browse the repository at this point in the history
  • Loading branch information
YoRyan committed Sep 3, 2022
1 parent a283808 commit 9d241ac
Show file tree
Hide file tree
Showing 167 changed files with 26,834 additions and 21,747 deletions.
12 changes: 9 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
FROM squidfunk/mkdocs-material
ADD https://raw.githubusercontent.com/microsoft/vscode-dev-containers/main/script-library/common-alpine.sh /tmp/library-scripts/
RUN ash /tmp/library-scripts/common-alpine.sh
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:18-bullseye

# We need Lua 5.0.2, and it must be 32-bit.
RUN apt-get update && apt-get install -y gcc-multilib && rm -rf /var/lib/apt/lists/* \
&& (curl https://www.lua.org/ftp/lua-5.0.2.tar.gz | tar xz -C /tmp) \
&& cd /tmp/lua* \
&& sed -i -e 's$INSTALL_ROOT= /usr/local$INSTALL_ROOT= /usr$' -e 's$MYCFLAGS= -O2$MYCFLAGS= -O2 -m32$' -e 's$#MYLDFLAGS=$MYLDFLAGS= -m32$' config \
&& ./configure && make all install \
&& cd /tmp && rm -rf lua*
20 changes: 12 additions & 8 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"name": "MkDocs",
"build": {
"dockerfile": "Dockerfile"
},
"forwardPorts": [8000],
"extensions": [
"yzhang.markdown-all-in-one"
]
"name": "TypeScriptToLua",
"build": {
"dockerfile": "Dockerfile"
},
"extensions": [
"typescript-to-lua.vscode-typescript-to-lua",
"dbaeumer.vscode-eslint",
"editorconfig.editorconfig",
"esbenp.prettier-vscode"
],
"postCreateCommand": "npm ci",
"remoteUser": "node"
}
22 changes: 6 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
# Dev preferences
.vscode/
node_modules
/dist

# Output directory
/Mod/
/*.zip
/site/

# For projects that use the Waf build system: https://waf.io/
# Dot-hidden on Unix-like systems
.waf-*-*/
.waf3-*-*/
# Hidden directory on Windows (no dot)
waf-*-*/
waf3-*-*/
# Lockfile
.lock-waf_*_build
yarn.lock
.vscode
.idea
.DS_Store
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "Src/Lib/YoRyan/LibRailWorks"]
path = Src/Lib/YoRyan/LibRailWorks
url = https://github.com/YoRyan/LibRailWorks.git
[submodule ".rbs"]
path = .rbs
url = https://github.com/YoRyan/RailWorks-Build-System
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
package.json
package-lock.json
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"printWidth": 120,
"tabWidth": 4,
"arrowParens": "avoid",
"overrides": [{ "files": ["**/*.md", "**/*.yml"], "options": { "tabWidth": 2 } }]
}
1 change: 0 additions & 1 deletion .rbs
Submodule .rbs deleted from 7ba67c
11 changes: 0 additions & 11 deletions .vscode/launch.json

This file was deleted.

1 change: 0 additions & 1 deletion Docs/CNAME

This file was deleted.

64 changes: 0 additions & 64 deletions Docs/for-contributors/index.md

This file was deleted.

Loading

0 comments on commit 9d241ac

Please sign in to comment.