Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Add initial Gruntfile, binary, and ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsawicki committed May 7, 2013
1 parent 78cb00c commit 3129470
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
node_modules/
*.js
2 changes: 2 additions & 0 deletions .npmignore
@@ -0,0 +1,2 @@
.npmignore
*.coffee
14 changes: 14 additions & 0 deletions Gruntfile.coffee
@@ -0,0 +1,14 @@
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON('package.json')

coffee:
glob_to_multiple:
expand: true
cwd: 'src'
src: ['*.coffee']
dest: 'lib'
ext: '.js'

grunt.loadNpmTasks('grunt-contrib-coffee')
grunt.registerTask('default', ['coffee'])
11 changes: 11 additions & 0 deletions README.md
@@ -1,3 +1,14 @@
# apm - Atom Package Manager

Discover and install Atom packages.

## Installing

```
node install -g https://github.com/atom/apm.git
```

## Building
* Clone the repository
* Run `npm install`
* Run `grunt` to compile the CoffeeScript code
3 changes: 3 additions & 0 deletions bin/apm
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('../lib/apm-cli').run();
9 changes: 9 additions & 0 deletions package.json
@@ -0,0 +1,9 @@
{
"name": "apm",
"version": "0.0.0",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-coffee": "~0.7.0",
"grunt-cli": "~0.1.8"
}
}
3 changes: 3 additions & 0 deletions src/apm-cli.coffee
@@ -0,0 +1,3 @@
module.exports =
run: ->
console.log 'Atom package manager'

0 comments on commit 3129470

Please sign in to comment.