File tree Expand file tree Collapse file tree
example/pythonlib/basic/1-simple Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,21 +11,6 @@ object foo extends PythonModule {
1111
1212}
1313
14- // > mill server.test
15- //...com.example.ServerTest#shouldReturnStaticPage() finished...
16- //...com.example.ServerTest#shouldReturnPositiveAnalysis() finished...
17- //...com.example.ServerTest#shouldReturnNegativeAnalysis() finished...
18- //
19- //> mill server.runBackground
20- //
21- //> curl http://localhost:8086
22- //...<title>Sentiment Analysis Tool</title>...
23- //
24- //> curl -X POST http://localhost:8086/api/analysis -H "Content-Type: text/plain" --data "This is awesome!" # Make request to the analysis api
25- //Positive sentiment (polarity: 1.0)
26- //
27- //> mill clean server.runBackground
28-
2914// This is a basic Mill build for a single `PythonModule`, with one
3015// dependency and a test suite using the `Unittest` Library.
3116//
You can’t perform that action at this time.
0 commit comments