Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcblw/atom-diff-demo
a small demo atom-shell app running git to see the diff of a file.
https://github.com/jcblw/atom-diff-demo
Last synced: 16 days ago
JSON representation
a small demo atom-shell app running git to see the diff of a file.
- Host: GitHub
- URL: https://github.com/jcblw/atom-diff-demo
- Owner: jcblw
- Created: 2014-05-25T16:55:37.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-12T14:00:33.000Z (over 7 years ago)
- Last Synced: 2024-10-11T14:39:14.619Z (about 1 month ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Atom Diff Demo
First you will need [atom-shell](https://github.com/atom/atom-shell), macs have a prebuilt binary, but everyone else read you os's documentation in the [development docs](https://github.com/atom/atom-shell/tree/master/docs/development).
## Installation
To install the this app just clone this repo and enter the directory.
$ cd atom-diff-demo
## Running
To run the app its super simple just run the atom binary given to you while installing [atom-shell](https://github.com/atom/atom-shell) against the `src` directory.
$ ~/path-to/atom src
A window will open with a header of "changes to TODO.md" now edit and save `src/TODO.md` and the window for atom shell should update showing the diff of that file. Note atom must be ran right outside of the src file in the `atom-diff-demo` file due to some of the pathing in the app.
## Development
To build on the the app all the files reside in the `src` directory.
diff-demo
└── src
├── package.json
├── main.js*
└── index.htmlWith atom-shell the entry point is a javascript file specified in the `package.json` and in this application it is `main.js`
ready for more [atom-shell docs](https://github.com/atom/atom-shell/tree/master/docs)