Skip to content

Commit

Permalink
Initialization Two
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmatterson111 committed Sep 5, 2020
1 parent edd7250 commit 434c9f1
Show file tree
Hide file tree
Showing 5,746 changed files with 483,733 additions and 1 deletion.
The diff you're trying to view is too large. We only load the first 3000 changed files.
17 changes: 17 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.git
!.git/HEAD
!.git/logs/HEAD
baystation12.dmb
baystation12.rsc
baystation12.dyn.rsc
baystation12.dyn.rsc.lk
baystation12.int
libmysql.dll
.dockerignore
Dockerfile
.editorconfig
.gitattributes
.gitignore
.travis.yml
.github
sql
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
root = true

[*]
insert_final_newline = false
trim_trailing_whitespace = true

[*.dm]
end_of_line = crlf
indent_style = tab
indent_size = 4

[*.dmm]
end_of_line = crlf

[*.py]
indent_style = space
indent_size = 4

[*.yml]
indent_style = space
indent_size = 2

14 changes: 14 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# dmm map merger hook
# needs additional setup, see tools/mapmerge/install.txt
*.dmm merge=merge-dmm

# dmi icon merger hook
# needs additional setup, see tools/dmitool/merging.txt
*.dmi merge=merge-dmi

# force changelog merging to use union
html/changelog.html merge=union

# Declare files that will always have CRLF line endings on checkout.
*.dm text eol=crlf
*.dmm text eol=crlf
46 changes: 46 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#ignore misc BYOND files
Thumbs.db
*.log
*.int
*.rsc
*.dmb
*.lk
*.backup
*.before
data/
cfg/
build_log.txt
use_map
stopserver
reboot_called
atupdate
__pycache__

# ignore config, but not subdirs
!config/*/
config/*
sql/test_db
.vscode/tasks.json
.vscode/settings.json
tools/dmitool/.classpath
tools/dmitool/.project
tools/dmitool/.gradle/5.6.1/gc.properties
tools/dmitool/.gradle/5.6.1/executionHistory/executionHistory.lock
tools/dmitool/.gradle/5.6.1/fileChanges/last-build.bin
tools/dmitool/.gradle/5.6.1/fileHashes/fileHashes.lock
tools/dmitool/.gradle/buildOutputCleanup/buildOutputCleanup.lock
tools/dmitool/.gradle/buildOutputCleanup/cache.properties
tools/dmitool/.gradle/vcs-1/gc.properties
tools/dmitool/.settings/org.eclipse.buildship.core.prefs
tools/dmitool/bin/main/dmitool/DMI.class
tools/dmitool/bin/main/dmitool/DMIDiff.class
tools/dmitool/bin/main/dmitool/DMIException.class
tools/dmitool/bin/main/dmitool/IconState.class
tools/dmitool/bin/main/dmitool/IconStateDiff$ISAddress.class
tools/dmitool/bin/main/dmitool/IconStateDiff.class
tools/dmitool/bin/main/dmitool/Image.class
tools/dmitool/bin/main/dmitool/Main.class
tools/dmitool/bin/main/dmitool/NonPalettedImage.class
tools/dmitool/bin/main/dmitool/PalettedImage.class
tools/dmitool/bin/main/dmitool/PNGChunk.class
tools/dmitool/bin/main/dmitool/RGBA.class
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
language: generic
sudo: false
dist: precise

env:
global:
- BYOND_MAJOR="513"
- BYOND_MINOR="1511"
- DM_BUILDFILE="IS12Warfare.dme"
- SPACEMAN_DMM_VERSION=suite-1.4

matrix:
include:
- name: "Compile"
addons:
apt:
packages:
- libc6-i386
- libgcc1:i386
- libstdc++6:i386
cache:
directories:
- $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}
install:
- chmod +x ./install-byond.sh
- ./install-byond.sh
script:
- (! grep -rn 'step_[xy]' maps)
- source $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/byondsetup
- bash dm.sh ${DM_BUILDFILE}
30 changes: 30 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
FROM ubuntu:latest

RUN mkdir /bs12

RUN dpkg --add-architecture i386

RUN apt-get update

RUN apt-get install -y unzip make wget libmariadb2:i386

RUN apt-get install -y libc6:i386 libstdc++6:i386

# we are not using ADD here to download it because this file should never change
# and thus, strictly caching it is okay
RUN cd /bs12/ && wget -q https://www.byond.com/download/build/511/511.1385_byond_linux.zip

RUN cd /bs12/ && unzip -q 511.1385_byond_linux.zip

COPY . /bs12/Baystation12

RUN /bin/bash -c '\
cd /bs12/byond; \
make here >/dev/null; \
source bin/byondsetup; \
cd ../Baystation12; \
ln -s /usr/lib/i386-linux-gnu/libmariadb.so.2 libmariadb.so; \
DreamMaker baystation12.dme; \
'

ENTRYPOINT cd /bs12/Baystation12 && . /bs12/byond/bin/byondsetup && DreamDaemon baystation12.dmb 8000 -invisible -trusted
Loading

0 comments on commit 434c9f1

Please sign in to comment.