Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Allow updating BYOND version in only one location
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceManiac committed Oct 9, 2018
1 parent 34b1d1d commit 32a4159
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
#Project dependencies file
#Final authority on what's required to fully build the project

#byond version
#note, this also needs to be changed in the Dockerfile's initial FROM command
#If someone has an idea for how to set that version within the Dockerfile itself without any other dependencies, feel free to PR it
export BYOND_MAJOR=512
export BYOND_MINOR=1452
# byond version
# Extracted from the Dockerfile. Change by editing Dockerfile's FROM command.
LIST=($(sed -n 's/.*byond:\([0-9]\+\)\.\([0-9]\+\).*/\1 \2/p' Dockerfile))
export BYOND_MAJOR=${LIST[0]}
export BYOND_MINOR=${LIST[1]}
unset LIST

#rust_g git tag
export RUST_G_VERSION=0.4.1
Expand Down

0 comments on commit 32a4159

Please sign in to comment.