diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml index de90a794..af8ff4e0 100644 --- a/.github/workflows/build-all.yml +++ b/.github/workflows/build-all.yml @@ -3,7 +3,7 @@ on: pull_request: types: [assigned, opened, synchronize, reopened] release: - types: [created] + types: [published] jobs: build-linux: @@ -110,7 +110,7 @@ jobs: main.wren release-artifacts: - if: ${{ github.event.action == 'created' }} + if: ${{ github.event.action == 'published' }} needs: [ build-linux, build-mac, build-windows ] runs-on: ubuntu-latest name: Upload Release Artifacts @@ -179,7 +179,7 @@ jobs: asset_content_type: application/zip notify-discord: runs-on: ubuntu-latest - if: ${{ github.event.action == 'created' }} + if: ${{ github.event.action == 'published' }} needs: [ release-artifacts ] steps: - name: Discord notification diff --git a/AUTHORS.md b/AUTHORS.md new file mode 100644 index 00000000..e2e6a298 --- /dev/null +++ b/AUTHORS.md @@ -0,0 +1,10 @@ +Authors +======= +We'd like to thank the following people for their contributions. + + * Aviv Beeri, aka springogeek [https://github.com/avivbeeri] + * scholar-mage [https://github.com/scholar-mage] + * Francisco Requena, aka frarees [https://github.com/frarees] + * Camilo Castro, aka clsource [https://github.com/clsource] + * Siddhant Rao [https://siddhantrao23.github.io] + * Chayim Refael Friedman [https://github.com/ChayimFriedman2] diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3b1ef428..f90cbd83 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,7 +36,6 @@ Minimalism: DOME is a minimal, but all-in-one toolkit. This means that it should Usage-First: Any new API is designed "usage-first", and then an implementation is built around that. This allows for a more "comfortable" and developer-friendly API, because it's how we would _want_ to use it. Once the API is designed, we do what we can to build an implementation to fit that design, adjusting when technical reasons require it. - ## Coding Conventions and Style Guides Code won't be merged into DOME if it doesn't match the existing code style. Here are some of the more obvious style decisions in the codebase. @@ -81,13 +80,3 @@ class GraphVisitor { ``` * Spaces around control-flow constructs, in similarity to C-styles. * Braces around control-flow blocks. - -## Contributors - -People who have contributed code or documentation to the project: -* Aviv Beeri, aka springogeek [https://github.com/avivbeeri] -* scholar-mage [https://github.com/scholar-mage] -* Francisco Requena, aka frarees [https://github.com/frarees] -* Camilo Castro, aka clsource [https://github.com/clsource] -* Siddhant Rao [https://siddhantrao23.github.io] -* Chayim Refael Friedman [https://github.com/ChayimFriedman2] diff --git a/Makefile b/Makefile index e15da5fe..01a47d39 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ SOURCE=src LIBS=lib OBJS=obj INCLUDES=include +SOURCE_FILES = $(shell find src -type f) UTILS = $(SOURCE)/util MODULES=$(SOURCE)/modules SCRIPTS=scripts @@ -80,11 +81,11 @@ WARNING_FLAGS += -Wno-incompatible-pointer-types-discards-qualifiers else ifneq ($(filter windows,$(TAGS)),) WARNING_FLAGS += -Wno-discarded-qualifiers -Wno-clobbered else ifneq ($(filter linux,$(TAGS)),) - WARNING_FLAGS += -Wno-clobbered + WARNING_FLAGS += -Wno-clobbered -Wno-maybe-uninitialized -Wno-attributes endif -CFLAGS = $(DOME_OPTS) -std=c99 -pedantic $(WARNING_FLAGS) +CFLAGS = $(DOME_OPTS) -std=c99 -pedantic $(WARNING_FLAGS) -fvisibility=hidden ifneq ($(filter macosx,$(TAGS)),) CFLAGS += -mmacosx-version-min=10.12 endif @@ -136,7 +137,7 @@ else ifneq ($(and $(filter macosx,$(TAGS)), $(filter framework,$(TAGS)), $(filte FFLAGS += -F/Library/Frameworks -framework SDL2 endif -LDFLAGS = -L$(LIBS) $(WINDOW_MODE_FLAG) $(SDLFLAGS) $(STATIC_FLAG) $(DEPS) +LDFLAGS = -L$(LIBS) $(WINDOW_MODE_FLAG) $(SDLFLAGS) $(STATIC_FLAG) $(DEPS) @@ -148,7 +149,7 @@ PROJECTS := dome.bin all: $(PROJECTS) WREN_LIB ?= $(LIBS)/libwren.a -WREN_PARAMS ?= $(ARCH) WREN_OPT_RANDOM=1 WREN_OPT_META=1 +WREN_PARAMS ?= $(ARCH) WREN_OPT_RANDOM=0 WREN_OPT_META=1 $(LIBS)/wren/lib/libwren.a: @echo "==== Cloning Wren ====" git submodule update --init -- $(LIBS)/wren @@ -166,14 +167,14 @@ $(OBJS)/vendor.o: $(INCLUDES)/vendor.c @echo "==== Building vendor module ====" $(CC) $(CFLAGS) -c $(INCLUDES)/vendor.c -o $(OBJS)/vendor.o $(IFLAGS) -$(OBJS)/main.o: $(SOURCE)/*.h $(SOURCE)/*.c $(MODULES)/*.c $(MODULES)/*.inc $(INCLUDES) $(WREN_LIB) +$(OBJS)/main.o: $(SOURCE_FILES) $(INCLUDES) $(WREN_LIB) $(MODULES)/*.inc @mkdir -p $(OBJS) @echo "==== Building core ($(TAGS)) module ====" $(CC) $(CFLAGS) -c $(SOURCE)/main.c -o $(OBJS)/main.o $(IFLAGS) $(TARGET_NAME): $(OBJS)/main.o $(OBJS)/vendor.o $(WREN_LIB) @echo "==== Linking DOME ($(TAGS)) ====" - $(CC) $(FFLAGS) -o $(TARGET_NAME) $(OBJS)/*.o $(ICON_OBJECT_FILE) $(LDFLAGS) + $(CC) $(CFLAGS) $(FFLAGS) -o $(TARGET_NAME) $(OBJS)/*.o $(ICON_OBJECT_FILE) $(LDFLAGS) ./scripts/set-executable-path.sh $(TARGET_NAME) @echo "DOME built as $(TARGET_NAME)" diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index b9d3ce42..58dcf225 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -13,7 +13,7 @@ -{% seo %} + {% seo %} @@ -35,73 +35,72 @@
-{{ site.description | default: site.github.project_tagline }}
-- - Download the latest version here! - -
+View the Project on GitHub {{ site.github.repository_nwo }}
- {% endif %} +{{ site.description | default: site.github.project_tagline }}
++ + Download the latest version here! + +
- + {% if site.github.is_project_page %} + + {% endif %} - + - {% if site.github.is_user_page %} - - {% endif %} - {% if site.show_downloads %} - - {% endif %} -