https://github.com/nickserv/run
A simple command line tool for running individual files of source code.
https://github.com/nickserv/run
Last synced: 11 months ago
JSON representation
A simple command line tool for running individual files of source code.
- Host: GitHub
- URL: https://github.com/nickserv/run
- Owner: nickserv
- License: mit
- Created: 2014-02-25T06:20:04.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-05-16T17:14:01.000Z (about 11 years ago)
- Last Synced: 2025-03-28T13:51:51.727Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 404 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Run
[](https://travis-ci.org/nicolasmccurdy/run)
A simple command line tool for running individual files of source code.
Run is kind of like [open](https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/open.1.html) for Mac or [xdg-open](https://wiki.archlinux.org/index.php/xdg-open) for Linux, except it tries to always run source code files instead of just opening them in text editors. Run can also automatically compile source code for languages that need to be compiled.
## Installation
`go get github.com/nicolasmccurdy/run`
## Usage
`run `
### Notes:
1. For now, the file must have an extension.
2. Shebang lines are currently ignored.
3. The main implementation of the file's programming language must be installed for it to run.
4. You can see the list of supported programming languages in [commands.json](https://github.com/nicolasmccurdy/run/blob/master/commands.json).