|
@@ -22,7 +22,7 @@
|
|
|
set -u
|
|
|
|
|
|
PROGRAM="factorio_development.sh"
|
|
|
VERSION="1.0.2"
|
|
|
VERSION="1.1.0"
|
|
|
|
|
|
function usage() {
|
|
|
cat <<EOF
|
|
@@ -543,10 +543,16 @@ Features
|
|
|
Known issues
|
|
|
------------
|
|
|
|
|
|
There are no known issues at this time.
|
|
|
|
|
|
|
|
|
Contributions
|
|
|
-------------
|
|
|
|
|
|
Bugs and feature requests can be reported through discussion threads or through project's issue tracker. For general questions, please use discussion threads.
|
|
|
|
|
|
Pull requests for implementing new features and fixing encountered issues are always welcome.
|
|
|
|
|
|
|
|
|
Credits
|
|
|
-------
|
|
@@ -555,7 +561,9 @@ Credits
|
|
|
License
|
|
|
-------
|
|
|
|
|
|
All code, documentation, and assets implemented as part of this mod are released under the terms of MIT license (see the accompanying \`LICENSE\` file).
|
|
|
All code, documentation, and assets implemented as part of this mod are released under the terms of MIT license (see the accompanying \`LICENSE\` file), with the following exceptions:
|
|
|
|
|
|
- [build.sh (factorio_development.sh)](https://code.majic.rs/majic-scripts/), by Branko Majic, under [GPLv3](https://www.gnu.org/licenses/gpl-3.0.html).
|
|
|
EOF
|
|
|
|
|
|
cat <<EOF > "$base_dir/LICENSE"
|
|
@@ -585,6 +593,7 @@ EOF
|
|
|
|
|
|
# Specify list of paths to exclude from the built release archives.
|
|
|
IGNORE_PATHS=(
|
|
|
".dir-locals.el"
|
|
|
".gitignore"
|
|
|
"build.cfg"
|
|
|
"build.sh"
|
|
@@ -607,6 +616,11 @@ build/
|
|
|
|
|
|
# Ignore project temporary directory.
|
|
|
tmp/
|
|
|
EOF
|
|
|
|
|
|
cat <<EOF > "$base_dir/.dir-locals.el"
|
|
|
;; Set wrapping column for Emacs lua-mode.
|
|
|
((lua-mode . ((fill-column . 120))))
|
|
|
EOF
|
|
|
|
|
|
cat <<EOF > "$source_dir/info.json"
|
|
@@ -633,6 +647,11 @@ Date: 9999-99-99
|
|
|
Bugfixes:
|
|
|
EOF
|
|
|
|
|
|
cat <<EOF > "$source_dir/control.lua"
|
|
|
-- Copyright (c) $(date +%Y) YOUR_NAME
|
|
|
-- Provided under MIT license. See LICENSE for details.
|
|
|
EOF
|
|
|
|
|
|
git init "$base_dir"
|
|
|
git -C "$base_dir" add .
|
|
|
|