-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.sh
24 lines (20 loc) · 978 Bytes
/
config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
# Do not include trailing slashes
case "${u}" in
"yourname")
project_directory='c:/xampp/htdocs/github/js.sh/sample' # Root of project directory - useful for different developers who might have things set up differently
path_to_closure_compiler='c:/cmdtools/closurecompiler' # Location of compiler.jar on your system
path_to_js_temp='c:/temp/.js-tmp' # Where to store tmp files created during combination/compression
;;
"anotherdevelopername")
project_directory='/path/to/project/directory'
path_to_closure_compiler='/path/to/closure/compiler'
path_to_js_temp='/path/to/js/temp'
;;
esac
path_to_js_source="${project_directory}/public/js"
path_to_js_compiled="${project_directory}/public/js/compiled"
# This could also be an absolute URL
# It's only used when outputting to js.php
# Usually this will just be "/js/compiled"
web_path_to_js="/github/js.sh/sample/public/js/compiled"