diff --git a/.gitignore b/.gitignore index 61bc857..0a08227 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ /xasm.html /xasm.1 /MANIFEST +/.dub /.project diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..62d0c9e --- /dev/null +++ b/.travis.yml @@ -0,0 +1 @@ +language: d diff --git a/Makefile b/Makefile index 3967af9..71f1b75 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ SEVENZIP = 7z a -mx=9 -bd all: xasm xasm.html -xasm: xasm.d +xasm: source/xasm.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: xasm.d +osx/xasm: source/xasm.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 new file mode 100644 index 0000000..5648fe0 --- /dev/null +++ b/dub.sdl @@ -0,0 +1,6 @@ +name "xasm" +description "6502 cross-assembler with original syntax extensions" +authors "Piotr Fusik" +copyright "Copyright © 1998-2019, Piotr Fusik" +license "poetic" +targetType "executable" diff --git a/xasm.d b/source/xasm.d similarity index 100% rename from xasm.d rename to source/xasm.d