From cb92f715a923576f37f592bb6d62a0ba3fadcbe2 Mon Sep 17 00:00:00 2001 From: Piotr Fusik Date: Sun, 6 Oct 2019 17:07:42 +0200 Subject: [PATCH] Fix "dub test". --- .gitignore | 1 + Makefile | 4 ++-- dub.sdl | 1 - source/{xasm.d => app.d} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename source/{xasm.d => app.d} (100%) diff --git a/.gitignore b/.gitignore index 0a08227..9cbaf9d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ /xasm.obj /xasm.html /xasm.1 +/xasm-test-* /MANIFEST /.dub /.project diff --git a/Makefile b/Makefile index 71f1b75..7d5f5da 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ SEVENZIP = 7z a -mx=9 -bd all: xasm xasm.html -xasm: source/xasm.d +xasm: source/app.d dmd -of$@ -O -release $< xasm.html: xasm.1.asciidoc @@ -49,7 +49,7 @@ osx: ../xasm-$(VERSION)-osx.dmg ../xasm-$(VERSION)-osx.dmg: osx/xasm osx/bin hdiutil create -volname xasm-$(VERSION)-osx -srcfolder osx -imagekey zlib-level=9 -ov $@ -osx/xasm: source/xasm.d +osx/xasm: source/app.d mkdir -p osx && dmd -of$@ -O -release -m32 -L-macosx_version_min -L10.6 $< && rm -f osx/xasm.o osx/bin: diff --git a/dub.sdl b/dub.sdl index 5648fe0..96d16ab 100644 --- a/dub.sdl +++ b/dub.sdl @@ -3,4 +3,3 @@ description "6502 cross-assembler with original syntax extensions" authors "Piotr Fusik" copyright "Copyright © 1998-2019, Piotr Fusik" license "poetic" -targetType "executable" diff --git a/source/xasm.d b/source/app.d similarity index 100% rename from source/xasm.d rename to source/app.d