Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
Version separated and Py3 version added
Browse files Browse the repository at this point in the history
  • Loading branch information
Gesugao-san committed Oct 8, 2021
1 parent 7351145 commit 8ad915f
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions scripts/_config.bash → bin/bash/_config.bash
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ BYONDUrl="http://www.byond.com/download/build/"

# BYOND version
get_BYOND_version_hardcoded() {
imported=$(awk '/^BYOND_MAJOR_HARDCODED/{print $3}' _config.ini)
imported=$(awk '/^BYOND_MAJOR_HARDCODED/{print $3}' '_config.ini') # -F " = "
export BYOND_MAJOR_HARDCODED=$imported;
imported=$(awk '/^BYOND_MINOR_HARDCODED/{print $3}' _config.ini)
imported=$(awk '/^BYOND_MINOR_HARDCODED/{print $3}' '_config.ini')
export BYOND_MINOR_HARDCODED=$imported;
unset imported;
echo "BYOND_MAJOR_HARDCODED = $BYOND_MAJOR_HARDCODED"
Expand Down
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions bin/python/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
end_of_line = lf
1 change: 1 addition & 0 deletions bin/python/_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
17 changes: 17 additions & 0 deletions bin/python/_config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# -*- coding: utf-8 -*-

# Authors: @Gesugao-san;
# Licence: MIT

# Usefull links:
# https://www.google.com/search?q=python+parsing+html
# https://stackoverflow.com/a/419185


def say_hello_world():
print ("Hello world.")

# Python program to use
# main for function call.
if __name__ == "__main__":
say_hello_world()

0 comments on commit 8ad915f

Please sign in to comment.