Browse Source

amberc: add -D flag to specify output_dir directory

Manfred Kroehnert 11 years ago
parent
commit
3cb2cb426c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      bin/amberc

+ 3 - 0
bin/amberc

@@ -66,6 +66,9 @@ function handle_options(optionsArray, amber_dir) {
 			case '-d':
 				defaults.deploy = true;
 				break;
+			case '-D':
+				defaults.output_dir = optionsArray.shift();
+				break;
 			case '-s':
 				defaults.suffix = optionsArray.shift();
 				defaults.suffix_used = defaults.suffix;