You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`Type`|`StdOut`| The type of target to write data to. One of `File` or `StdOut`. |
91
+
|`Path`|| Required for `Type: File`; the path to a writeable file. |
92
+
93
+
### Run the executable
94
+
95
+
**Windows Powershell:**
96
+
97
+
```powershell
98
+
.\hashfields
99
+
```
100
+
101
+
**Linux/macOS terminals:**
102
+
103
+
```bash
104
+
./hashfields
105
+
```
106
+
107
+
## Development getting started
8
108
9
109
* Open in VS Code
10
110
* Rebuild and Reopen in Container
11
-
* Review the [`appsettings.json`](https://github.com/cal-itp/hashfields/blob/main/src/Cli/appsettings.json) and [sample data](https://github.com/cal-itp/hashfields/blob/main/src/Cli/samples/data.csv) files
12
-
* Set a breakpoint in [`src/Cli/Program.cs`](src/Cli/Program.cs) and hit `F5` to run in debug mode
111
+
* Review the [`appsettings.json`][appsettings.json] and [sample data][data.csv] files
112
+
* Set a breakpoint in [`src/Cli/Program.cs`][program.cs] and hit `F5` to run in debug mode
13
113
* After the run completes, look in your local `src/Cli/sample` directory for the hashed output file
14
114
15
-
## Run the tests
115
+
###Run the tests
16
116
17
117
Use the *Task Explorer* or enter the following commands:
18
118
19
-
### Run tests once
119
+
####Run tests once
20
120
21
121
*`Ctrl/Cmd+P` to bring up the Command Palette
22
122
* Type `tasks: run test task` and hit `Enter`
23
123
24
-
### Watch/Run tests
124
+
####Watch/Run tests
25
125
26
126
*`Ctrl/Cmd+P` to bring up the Command Palette
27
127
* Type `tasks: run task` and hit `Enter`
@@ -40,3 +140,20 @@ docker compose up --build deploy-alpine
40
140
```
41
141
42
142
The `Cli` program's output is displayed in the terminal before the container shuts down.
143
+
144
+
## Make a release
145
+
146
+
Releases happen automatically with GitHub Actions. Push a calver version tag of
147
+
the form `YYYY.0M.N` where:
148
+
149
+
*`YYYY` is the 4 digit year
150
+
*`0M` is the 0-prefixed month, e.g. 01 for January, 10 for October
151
+
*`N` is the 1-based release number for the given month, incremented with
152
+
each release that year and month
153
+
154
+
See [`.github/workflows/release.yml`][release.yml] for more details.
0 commit comments