Changeset 19770
- Timestamp:
- 11/20/15 10:11:43 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Enum/Synchronize.sh
r19530 r19770 196 196 #core 197 197 cat temp | awk '{print "def " $1"(): return StringToEnum(\"" substr($1,1,length($1)-4) "\")[0]"}' >> $ISSM_DIR/src/m/enum/EnumDefinitions.py 198 #}}} 199 200 #Deal with Javascript Enums 201 #Build EnumDefinitions.js{{{ 202 cat <<END > $ISSM_DIR/src/m/enum/EnumDefinitions.js 203 //WARNING: DO NOT MODIFY THIS FILE 204 //this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 205 //Please read src/c/shared/Enum/README for more information 206 END 207 #core 208 cat temp | awk '{print "function " $1"(){ return StringToEnum(\"" substr($1,1,length($1)-4) "\");\}"}' >> $ISSM_DIR/src/m/enum/EnumDefinitions.js 198 209 #}}} 199 210
Note:
See TracChangeset
for help on using the changeset viewer.