asciidoctor / atom-language-asciidoc

⚛ AsciiDoc language package for the Atom editor.
https://atom.io/packages/language-asciidoc
MIT License
42 stars 20 forks source link

Document how to run tests #50

Closed mojavelinux closed 8 years ago

mojavelinux commented 8 years ago

Document how to run tests in a file named HACKING.adoc or CONTRIBUTING-CODE.adoc.

I think it's as simple as:

atom --test spec

On OSX and Debian systems, you can use the build-package.sh script.

curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh > build-package.sh
sh build-package.sh
nicorikken commented 8 years ago

Similarly, you can run Window: Run Package Specs using the Command Pallet when working in the package using atom. atom --test spec seems to work on OS X as well.

mojavelinux commented 8 years ago

We should definitely document both approaches as they are both important in different circumstances.

nicorikken commented 8 years ago

Just added this content to PR #54 Maybe some options can be left out though.

mojavelinux commented 8 years ago

:+1:

ldez commented 8 years ago

This issue can be close.