Changeset - 94c3f6db5b82
[Not reviewed]
0 1 0
Branko Majic (branko) - 19 months ago 2022-09-02 23:47:17
branko@majic.rs
[factorio_development.sh] Expand deployed files for new mods:

- Include stock text for a couple of sections in the README file.
- Mark build script as explicitly being released under a GPLv3
license.
- Include Emacs editor configuration file for setting the fill column
to a biter saner (larger) value.
- Include an empty control.lua file with helpful header stating
copyright and license (for easier copy/pasting from it).
1 file changed with 21 insertions and 2 deletions:
0 comments (0 inline, 0 general)
games/factorio_development.sh
Show inline comments
 
@@ -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 .
 

	
0 comments (0 inline, 0 general)