From 71ad9bda9762186e0d6c6f67fc4b97a5fa6b966e Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Sun, 7 Mar 2021 16:40:19 -0800 Subject: [PATCH] Travis-CI: Build using linux --- .travis.yml | 2 +- Makefile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d4293de..626f887 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ sudo: enabled -os: osx +os: linux language: c install: diff --git a/Makefile b/Makefile index 7c6b891..543c38f 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,8 @@ OUTDIR = out TARGETS = $(OUTDIR)/chtype.BIN $(OUTDIR)/chtime.BIN +XATTR := $(shell command -v xattr 2> /dev/null) + .PHONY: clean all all: $(OUTDIR) $(TARGETS) @@ -25,4 +27,6 @@ $(OUTDIR)/%.o: %.s $(HEADERS) $(OUTDIR)/%.BIN $(OUTDIR)/%.SYS: $(OUTDIR)/%.o ld65 $(LDFLAGS) -o $@ $< +ifdef XATTR xattr -wx prodos.AuxType '00 20' $@ +endif