Changes

1 byte added ,  21:21, 22 November 2009
no edit summary
Line 1: Line 1: −
The main karma utility is the command '''karma''' which simply checks if java is installed before invoking utils/karma.js with the [http://www.narwhaljs.org narwhal] command-line interpreter for javascript.
+
The main karma utility is the command '''karma''' which simply checks if java is installed before invoking bin/karma.js with the [http://www.narwhaljs.org narwhal] command-line interpreter for javascript.
    
The karma utility is essentially a clone of setup.py with customizations for karma. We could not use setup.py as much of it does not apply to a non-python project. The karma script is still under heavy development. Here are some functions we intend to implement:
 
The karma utility is essentially a clone of setup.py with customizations for karma. We could not use setup.py as much of it does not apply to a non-python project. The karma script is still under heavy development. Here are some functions we intend to implement:
Line 16: Line 16:  
* gettextize  [files] [-o outputfile.pot] -- grabs translatable strings from [files] and outputs them lesson_name.pot by default. If lesson_name.pot already exists, it is updated
 
* gettextize  [files] [-o outputfile.pot] -- grabs translatable strings from [files] and outputs them lesson_name.pot by default. If lesson_name.pot already exists, it is updated
 
* new_lesson  -- create a new lesson from the  karma templates
 
* new_lesson  -- create a new lesson from the  karma templates
* update_kindex -- update the kindex.html to include lessons created in lesson/
+
* update_index -- update the main index.html to include lessons created in lesson/
359

edits