Add distrib builder, reduce docs size, bump ver
This commit is contained in:
parent
ba15341520
commit
2df87bc4ae
5 changed files with 49 additions and 2 deletions
1
dist/.gitignore
vendored
Normal file
1
dist/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
distrib
|
46
dist/build-distrib.sh
vendored
Executable file
46
dist/build-distrib.sh
vendored
Executable file
|
@ -0,0 +1,46 @@
|
||||||
|
#!/usr/sbin/env bash
|
||||||
|
export PS4="-> "
|
||||||
|
set -euxo pipefail
|
||||||
|
if [ -d "distrib" ]; then rm -rf distrib; fi
|
||||||
|
mkdir distrib
|
||||||
|
cd distrib
|
||||||
|
mkdir -p addons/CORE/dist
|
||||||
|
cat << EOF >> README.md
|
||||||
|
# CORE Framework distribution repository
|
||||||
|
This repository is used for distributing CORE in the [Godot Asset Library](https://godotengine.org/asset-library/).
|
||||||
|
|
||||||
|
## [CORE Repository](https://git.staropensource.de/StarOpenSource/CORE)
|
||||||
|
## [Documentation](https://core.staropensource.de)
|
||||||
|
EOF
|
||||||
|
cp -r README.md addons/CORE/README.md
|
||||||
|
cp -r ../../.corebasepath addons/CORE/.corebasepath
|
||||||
|
cp -r ../../src addons/CORE/src
|
||||||
|
cp -r ../core.* addons/CORE/dist
|
||||||
|
cp -r ../FiraCode addons/CORE/dist/FiraCode
|
||||||
|
cp -r ../../LICENSE addons/CORE/LICENSE
|
||||||
|
cat << EOF >> .gitignore
|
||||||
|
# Godot 4+ specific ignores
|
||||||
|
.godot/
|
||||||
|
|
||||||
|
# Godot-specific ignores
|
||||||
|
.import/
|
||||||
|
export.cfg
|
||||||
|
export_presets.cfg
|
||||||
|
|
||||||
|
# Imported translations (automatically generated from CSV files)
|
||||||
|
*.translation
|
||||||
|
|
||||||
|
# Mono-specific ignores
|
||||||
|
.mono/
|
||||||
|
data_*/
|
||||||
|
mono_crash.*.json
|
||||||
|
EOF
|
||||||
|
cat << EOF >> .gitattributes
|
||||||
|
# Normalize line endings for all files that Git considers text files.
|
||||||
|
* text=auto eol=lf
|
||||||
|
|
||||||
|
# Only include the addons folder when downloading from the Asset Library.
|
||||||
|
/** export-ignore
|
||||||
|
/addons !export-ignore
|
||||||
|
/addons/** !export-ignore
|
||||||
|
EOF
|
1
docs/static/dist
vendored
1
docs/static/dist
vendored
|
@ -1 +0,0 @@
|
||||||
../../dist
|
|
1
docs/static/dist/core.png
vendored
Symbolic link
1
docs/static/dist/core.png
vendored
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../../../dist/core.png
|
|
@ -28,7 +28,7 @@ const version_release: int = 1
|
||||||
## The release type
|
## The release type
|
||||||
const version_type: CoreTypes.VersionType = CoreTypes.VersionType.BETA
|
const version_type: CoreTypes.VersionType = CoreTypes.VersionType.BETA
|
||||||
## The release type number. Resets on every new release and release type.
|
## The release type number. Resets on every new release and release type.
|
||||||
const version_typerelease: int = 1
|
const version_typerelease: int = 2
|
||||||
|
|
||||||
# Modules
|
# Modules
|
||||||
## Use this to access CORE's logging implementation.
|
## Use this to access CORE's logging implementation.
|
||||||
|
|
Loading…
Reference in a new issue