when I execute below command, i get a error as below.Anyone know why?
C:\GoWorkspace\src\github.com\google\battery-historian>java -jar third_party\clo
sure-compiler\compiler.jar --closure_entry_point historian.Historian --js js.j
s --js third_party\closure-library\closure\goog* --only_closure_dependencies -
-generate_exports --js_output_file compiled\historian-optimized.js --compilation
_level SIMPLE_OPTIMIZATIONS
ERROR - required entry point "historian.Historian" never provided
go get -u github.com/google/battery-historian
cd %GOPATH%\src\github.com\google\battery-historian
go run setup.go
That is all. No need to manually compile anymore.
Now if you want to run just use the following command
set GOPATH=%USERPROFILE%\go-workspace
cd %GOPATH%\src\github.com\google\battery-historian
go run cmd\battery-historian\battery-historian.go
when I execute below command, i get a error as below.Anyone know why? C:\GoWorkspace\src\github.com\google\battery-historian>java -jar third_party\clo sure-compiler\compiler.jar --closure_entry_point historian.Historian --js js.j s --js third_party\closure-library\closure\goog* --only_closure_dependencies - -generate_exports --js_output_file compiled\historian-optimized.js --compilation _level SIMPLE_OPTIMIZATIONS ERROR - required entry point "historian.Historian" never provided
1 error(s), 0 warning(s)