atom-project-runner
Run project's code in Atom.
Commands
-
to run with configuration file for building, if shows result then hide.
-
⌘-r
OSX -
ctrl-r
win32, Linux -
to test with configuration file for building , if shows result then hide.
-
⌘-u
OSX -
ctrl-u
win32, Linux
Installation
apm install project-runner
Setup
Make configuration file Makefile
or Rakefile
.
Set the file to directory on project's root path.
Makefile
all:
ruby example/test_run.rb
test:
ruby example/test_test.rb
Rakefile
task :default do
ruby "example/test_run.rb"
end
task :test do
ruby "example/test_test.rb"
end
TODO
- make run then auto save
- support other files for building