Permalink
Browse files

Changed the argument to pass named as LIB_LANGUAGE to LANGUAGE.

  • Loading branch information...
1 parent a6a979f commit f4ecdce231d76b71314f64c95949dcf537517b27 @mr-rock mr-rock committed Feb 14, 2012
Showing with 7 additions and 7 deletions.
  1. +4 −4 .alice/templates
  2. +3 −3 Makefile
View
@@ -34,9 +34,9 @@ GITIGNORE = ".DS_Store\
\n$(DEPENDENCIES_DIRECTORY)/\
\n$(DEPLOYMENT_DIRECTORY)/"
-ifeq "$(LIB_LANGUAGE)" "CS"
+ifeq "$(LANGUAGE)" "CS"
GITIGNORE += "\n$(BINARIES_DIRECTORY)/\
-\n$(LIBRARIES_DIRECTORY)/\"
+\n$(LIBRARIES_DIRECTORY)/"
endif
MODULE_JS = "module.exports = {\
@@ -133,7 +133,7 @@ PACKAGE = '{\
\n\t\t"mocha": ">= 0.5.0",\
\n\t\t"should": ">= 0.4.1"'
-ifeq "$(LIB_LANGUAGE)" "CS"
+ifeq "$(LANGUAGE)" "CS"
PACKAGE += ',\
\n\t\t"coffee-script": ">= 1.2.0",\
\n\t\t"jitter": ">= 1.1.1"'
@@ -145,4 +145,4 @@ PACKAGE += '\n\t},\
\n\t"maintainers": [],\
\n\t"contributors": [],\
\n\t"licenses": []\
-\n}'
+\n}'
View
@@ -24,24 +24,24 @@ clean:
@rm -drf $(DEPLOYMENT_DIRECTORY)
endif
-ifeq "$(LANG)" "CS"
+ifeq "$(LANGUAGE)" "CS"
setup:
@rm -drf .git
@rm README.md LICENSE .gitignore
@echo "LIB_LANGUAGE = CS" >> .alice/setup
- @make module NAME=$(LIB_NAME)
@echo $(INDEX_JS) > index.js
@echo $(PACKAGE) > package.json
@echo $(GITIGNORE) | sed 's/ //g' > .gitignore
+ @make module NAME=$(LIB_NAME)
@make git-init
else
setup:
@rm -drf .git
@rm README.md LICENSE .gitignore
- @make module NAME=$(LIB_NAME)
@echo $(INDEX_JS) > index.js
@echo $(PACKAGE) > package.json
@echo $(GITIGNORE) | sed 's/ //g' > .gitignore
+ @make module NAME=$(LIB_NAME)
@make git-init
endif

0 comments on commit f4ecdce

Please sign in to comment.