small typo fix.

This commit is contained in:
Norayr Chilingarian 2025-07-20 00:07:07 +04:00
parent ae9b05408c
commit 9937719d0e

View file

@ -44,7 +44,7 @@ The `vipak.json` file defines your project configuration:
```json ```json
{ {
"Package": "project-name", "Package": "project-name",
"Author": "Your Name", "Author": "Your Name",
"License": "GPL-3", "License": "GPL-3",
"Version": "0.1", "Version": "0.1",
"Remote": { "Remote": {
@ -113,7 +113,7 @@ Build both a main program and a test program:
```json ```json
{ {
"Package": "myproject", "Package": "myproject",
"Author": "Your Name", "Author": "Your Name",
"License": "GPL-3", "License": "GPL-3",
"Version": "0.1", "Version": "0.1",
"Remote": { "Remote": {
@ -131,7 +131,7 @@ Build both a main program and a test program:
"File": "src/myproject.Mod" "File": "src/myproject.Mod"
}, },
{ {
"Command": "voc -m", "Command": "voc -m",
"File": "src/test.Mod" "File": "src/test.Mod"
} }
] ]
@ -146,7 +146,7 @@ Some dependencies from Git repositories, others from HTTP sources:
{ {
"Package": "myproject", "Package": "myproject",
"Author": "Your Name", "Author": "Your Name",
"License": "GPL-3", "License": "GPL-3",
"Version": "0.1", "Version": "0.1",
"Remote": { "Remote": {
"type": "git", "type": "git",
@ -184,7 +184,7 @@ For projects that only build library modules:
"File": "src/MyLib.Mod" "File": "src/MyLib.Mod"
}, },
{ {
"Command": "voc -s", "Command": "voc -s",
"File": "src/MyLibUtils.Mod" "File": "src/MyLibUtils.Mod"
} }
] ]
@ -197,7 +197,7 @@ For projects that only build library modules:
- `voc -m file.Mod` - Compile main program (creates executable) - `voc -m file.Mod` - Compile main program (creates executable)
- `voc -s file.Mod` - Compile library module (creates .sym file) - `voc -s file.Mod` - Compile library module (creates .sym file)
- `voc -c file.Mod` - Compile to object file only - `voc -C file.Mod` - Compile to object file only
### Custom Build Commands ### Custom Build Commands
@ -264,7 +264,7 @@ myproject/
$ vipak --init $ vipak --init
Project initialized! You can now: Project initialized! You can now:
1. Edit src/myproject.Mod with your code 1. Edit src/myproject.Mod with your code
2. Edit vipak.json to configure build settings 2. Edit vipak.json to configure build settings
3. Run 'vipak --local' to build the project 3. Run 'vipak --local' to build the project
# Edit your source file # Edit your source file
@ -301,7 +301,7 @@ Fetching: strutils
Building dependency: strutils Building dependency: strutils
Build successful Build successful
Fetching: opts Fetching: opts
*** GIT: Cloning to: 'build/deps/codeberg.org/vishapoberon/opts' *** GIT: Cloning to: 'build/deps/codeberg.org/vishapoberon/opts'
*** GIT: Clone successful *** GIT: Clone successful
Building dependency: opts Building dependency: opts
@ -382,4 +382,4 @@ Once dependencies are downloaded to `build/deps/`, builds work offline. Delete t
## Contributing ## Contributing
To contribute to vipak or report issues, visit: https://codeberg.org/vishapoberon/vipak To contribute to vipak or report issues, visit: https://codeberg.org/vishapoberon/vipak