Skip to content

Commit

Permalink
Juke Build 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stylemistake committed Aug 12, 2021
1 parent 728cead commit 2404bd9
Show file tree
Hide file tree
Showing 22 changed files with 5,225 additions and 7,120 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/ci_suite.yml
Expand Up @@ -28,11 +28,9 @@ jobs:
run: |
bash tools/ci/check_filedirs.sh tgstation.dme
bash tools/ci/check_changelogs.sh
find . -name "*.php" -print0 | xargs -0 -n1 php -l
find . -name "*.json" -not -path "*/node_modules/*" -print0 | xargs -0 python3 ./tools/json_verifier.py
tgui/bin/tgui --lint
tgui/bin/tgui --test
bash tools/ci/check_grep.sh
bash tools/ci/check_misc.sh
tools/build/build --ci lint
tools/bootstrap/python -m dmi.test
tools/bootstrap/python -m mapmerge2.dmm_test
~/dreamchecker > ${GITHUB_WORKSPACE}/output-annotations.txt 2>&1
Expand All @@ -57,8 +55,7 @@ jobs:
run: |
bash tools/ci/install_byond.sh
source $HOME/BYOND/byond/bin/byondsetup
python3 tools/ci/template_dm_generator.py
tools/build/build dm -DCIBUILDING -DCITESTING -DALL_MAPS
tools/build/build --ci dm-build -DCIBUILDING -DCITESTING -DALL_MAPS
run_all_tests:
if: "!contains(github.event.head_commit.message, '[ci skip]')"
Expand Down Expand Up @@ -96,7 +93,7 @@ jobs:
run: |
bash tools/ci/install_byond.sh
source $HOME/BYOND/byond/bin/byondsetup
tools/build/build -DCIBUILDING
tools/build/build --ci -DCIBUILDING
bash tools/ci/run_server.sh
test_windows:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -12,8 +12,11 @@

#Ignore compiled files and other files generated during compilation.
*.mdme
*.mdme.*
*.dmb
*.rsc
*.m.dme
*.test.dme
*.lk
*.int
*.backup
Expand Down
3 changes: 3 additions & 0 deletions CLEAN.bat
@@ -0,0 +1,3 @@
@echo off
call "%~dp0\tools\build\build.bat" dist-clean
pause
3 changes: 3 additions & 0 deletions RUN_SERVER.bat
@@ -0,0 +1,3 @@
@echo off
call "%~dp0\tools\build\build.bat" server %*
pause
3 changes: 3 additions & 0 deletions RUN_TESTS.bat
@@ -0,0 +1,3 @@
@echo off
call "%~dp0\tools\build\build.bat" lint test
pause
2 changes: 1 addition & 1 deletion dependencies.sh
Expand Up @@ -12,7 +12,7 @@ export RUST_G_VERSION=0.4.9

#node version
export NODE_VERSION=12
export NODE_VERSION_PRECISE=12.20.0
export NODE_VERSION_PRECISE=12.22.4

# SpacemanDMM git tag
export SPACEMAN_DMM_VERSION=suite-1.7
Expand Down
2 changes: 1 addition & 1 deletion tgui/bin/tgui
Expand Up @@ -92,7 +92,7 @@ task-clean() {
rm -f .yarn/build-state.yml
rm -f .yarn/install-state.gz
rm -f .yarn/install-target
rm -f .pnp.js
rm -f .pnp.*
## NPM artifacts
rm -rf **/node_modules
rm -f **/package-lock.json
Expand Down
2 changes: 1 addition & 1 deletion tgui/bin/tgui_.ps1
Expand Up @@ -75,7 +75,7 @@ function task-clean {
Remove-Quiet -Force ".yarn\build-state.yml"
Remove-Quiet -Force ".yarn\install-state.gz"
Remove-Quiet -Force ".yarn\install-target"
Remove-Quiet -Force ".pnp.js"
Remove-Quiet -Force ".pnp.*"
## NPM artifacts
Get-ChildItem -Path "." -Include "node_modules" -Recurse -File:$false | Remove-Item -Recurse -Force
Remove-Quiet -Force "package-lock.json"
Expand Down
8 changes: 8 additions & 0 deletions tools/build/README.md
Expand Up @@ -13,6 +13,14 @@ This build script is the recommended way to compile the game, including not only

The script will skip build steps whose inputs have not changed since the last run.

## Getting list of available targets

You can get a list of all targets that you can build by running the following command:

```
tools/build/build --help
```

## Dependencies

- On Windows, `BUILD.bat` will automatically install a private (vendored) copy of Node.
Expand Down

0 comments on commit 2404bd9

Please sign in to comment.