Permalink
Browse files

coffin is a much better name

  • Loading branch information...
1 parent 53aa2d0 commit 932569a2ecff69f9907e17925f53db0848c8455a @chrisfjones chrisfjones committed Nov 28, 2011
Showing with 10 additions and 9 deletions.
  1. +1 −1 examples/WordPress-1.0.0.template.coffee
  2. +2 −2 lib/command.js
  3. +4 −4 package.json
  4. +2 −2 src/command.coffee
  5. +1 −0 todo.txt
@@ -1,5 +1,5 @@
# from https://s3.amazonaws.com/cloudformation-templates-us-east-1/WordPress-1.0.0.template
-result = require('../lib/coffeecloud') ->
+result = require('../lib/coffin') ->
@Description '''
WordPress is web software you can use to create a beautiful website or blog. This template creates a scalable WordPress installation using an Auto Scaling group behind an Elastic Load Balancer along with an Amazon Relational Database Service database instance to store the content. **WARNING** This template creates one or more Amazon EC2 instances and an Amazon Relational Database Service database instance. You will be billed for the AWS resources used if you create a stack from this template.
'''
View
Oops, something went wrong.
View
@@ -1,7 +1,7 @@
{
- "name": "coffeecloud",
+ "name": "coffin",
"description": "Coffee dsl for aws cloudformation",
- "keywords": ["coffeescript", "aws", "cloudformation"],
+ "keywords": ["coffeescript", "coffee-script", "aws", "cloudformation"],
"author": "Chris Jones",
"version": "0.0.1",
"engines": {
@@ -10,9 +10,9 @@
"directories" : {
"lib" : "./lib"
},
- "main" : "./lib/coffeecloud",
+ "main" : "./lib/coffin",
"bin": {
- "coffeecloud": "./bin/coffeecloud"
+ "coffin": "./bin/coffin"
},
"scripts": {
"test": "(cd test; coffee templateTests.coffee)"
View
@@ -5,14 +5,14 @@ CoffeeScript = require 'coffee-script'
{spawn, exec} = require 'child_process'
commander.version '0.0.1'
-commander.usage '[options] <coffeecloud template>'
+commander.usage '[options] <coffin template>'
commander.option '-o, --output [dir]', 'Directory to output compiled file(s) to'
commander.option '--pretty', 'Add spaces and stuff to the resulting json to make it a little prettier'
commander.option '-p --print', 'Print the compiled template'
commander.parse process.argv
exports = module.exports.run = ->
- pre = "require('./coffeecloud') ->\n"
+ pre = "require('./coffin') ->\n"
for source in commander.args
fs.readFile source, (err, code) ->
throw err if err
View
@@ -9,3 +9,4 @@
becomes
@Resource.MyResource.MyProperty
- prettier @Join handling for multiple lines (for UserData scripts and such)
+- watch support for coffin command line

0 comments on commit 932569a

Please sign in to comment.