Skip to content

Commit

Permalink
rename build into compile
Browse files Browse the repository at this point in the history
and other fixes
  • Loading branch information
NikkyAI committed Jan 20, 2021
1 parent 8614763 commit e748663
Show file tree
Hide file tree
Showing 13 changed files with 189 additions and 216 deletions.
4 changes: 2 additions & 2 deletions .run/CLI build --help.run.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="CLI build --help" type="JetRunConfigurationType">
<configuration default="false" name="CLI compile --help" type="JetRunConfigurationType">
<module name="voodoo-parent.voodoo.main" />
<option name="VM_PARAMETERS" value="" />
<option name="PROGRAM_PARAMETERS" value="build --help" />
<option name="PROGRAM_PARAMETERS" value="compile --help" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="PASS_PARENT_ENVS" value="true" />
Expand Down
4 changes: 2 additions & 2 deletions .run/CLI build --id forgePack.run.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="CLI build --id forgePack" type="JetRunConfigurationType">
<configuration default="false" name="CLI compile forgePack" type="JetRunConfigurationType">
<module name="voodoo-parent.voodoo.main" />
<option name="VM_PARAMETERS" value="" />
<option name="PROGRAM_PARAMETERS" value="--log TRACE build --id forgepack" />
<option name="PROGRAM_PARAMETERS" value="--log TRACE compile forgepack/v0.0.1.voodoo.json" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="PASS_PARENT_ENVS" value="true" />
Expand Down
4 changes: 2 additions & 2 deletions .run/CLI build.run.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="CLI build --id fabricPack" type="JetRunConfigurationType">
<configuration default="false" name="CLI compile fabricPack" type="JetRunConfigurationType">
<module name="voodoo-parent.voodoo.main" />
<option name="VM_PARAMETERS" value="" />
<option name="PROGRAM_PARAMETERS" value="--log TRACE build --id fabricPack" />
<option name="PROGRAM_PARAMETERS" value="--log TRACE compile fabricPack/152Version.voodoo.json fabricPack/164Version.voodoo.json" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" />
<option name="PASS_PARENT_ENVS" value="true" />
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ java -jar voodoo.jar init project
./voodoo init pack --id newPack --mcVersion 1.16.2

# builds a pack
./voodoo build --id mypack
./voodoo compile newPack/v0.0.1.voodoo.json

# packages for upload
./voodoo package --id mypack -p voodoo -p mmc-voodoo -p curse
Expand Down
13 changes: 8 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,23 @@ Usage examples
==============

```bash
# setup wrapper/shell scripts and gitignore
java -jar voodoo.jar init project

# generate json schema for autocompletion
java -jar voodoo.jar generateSchema
./voodoo generateSchema

# create a new pack
java -jar voodoo.jar create pack --id newPack --mcVersion 1.16.2
./voodoo init pack --id newPack --mcVersion 1.16.2

# builds a pack
java -jar voodoo.jar build --id mypack
./voodoo compile newPack/v0.0.1.voodoo.json

# packages for upload
java -jar voodoo.jar package --id mypack -p voodoo -p mmc-voodoo -p curse
./voodoo package --id mypack -p voodoo -p mmc-voodoo -p curse

# launches pack in multimc
java -jar voodoo.jar launch multimc --id mypack
./voodoo launch multimc --id mypack

```

Expand Down
10 changes: 5 additions & 5 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,17 +228,17 @@ so lets add some mods

//TODO: add sections about overrides and properties of entries

## Building the pack
## Compiling the pack

`building` the pack does resolve all dependencies of entries and pins versions
`compiling` the pack does resolve all dependencies of entries and pins versions

```bash
voodoo build --id magicpack
voodoo compile magicpack/v0.0.1.voodoo.json
```

this created `/magicpack/lock/` folder cotnaining the output artifacts
this created `/magicpack/lock/` folder containing the output artifacts
*DO NOT DELETE* this folder unless you know what you are doing
this folder contains the inputs for all tasks (except `build`)
this folder contains the inputs for all tasks (except `compile`)

## Testing in MultiMC

Expand Down
4 changes: 2 additions & 2 deletions samples/fabricpack/lock/0.0.2/lock.pack.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"mcVersion": "1.15.2",
"modloader": {
"type": "Fabric",
"loader": "0.11.0",
"loader": "0.11.1",
"intermediateMappings": "1.15.2",
"installer": "0.6.1.51"
},
Expand Down Expand Up @@ -56,7 +56,7 @@
"path": "mods",
"name": "fabric-api",
"projectID": 306612,
"fileID": 3147516
"fileID": 3174096
},
{
"type": "curse",
Expand Down
2 changes: 1 addition & 1 deletion samples/fabricpack/lock/0.0.3/lock.pack.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"mcVersion": "1.16.4",
"modloader": {
"type": "Fabric",
"loader": "0.11.0",
"loader": "0.11.1",
"intermediateMappings": "1.16.4",
"installer": "0.6.1.51"
},
Expand Down
193 changes: 0 additions & 193 deletions voodoo/src/main/kotlin/voodoo/cli/BuildCommand.kt

This file was deleted.

Loading

0 comments on commit e748663

Please sign in to comment.