diff --git a/games/factorio_development.sh b/games/factorio_development.sh index 6df797e175349176ed9d0c9ed045261bc0af8410..4f80b8c4ddda9fc7a1e97a50c7d508b5db9266c0 100755 --- a/games/factorio_development.sh +++ b/games/factorio_development.sh @@ -22,7 +22,7 @@ set -u PROGRAM="factorio_development.sh" -VERSION="1.0.2" +VERSION="1.1.0" function usage() { cat < "$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 < "$base_dir/.dir-locals.el" +;; Set wrapping column for Emacs lua-mode. +((lua-mode . ((fill-column . 120)))) EOF cat < "$source_dir/info.json" @@ -633,6 +647,11 @@ Date: 9999-99-99 Bugfixes: EOF + cat < "$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 .