-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add convenience script to call the COSMOS plugin install script with …
…its first argument from the main assembly directory
- Loading branch information
Showing
4 changed files
with
32 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
|
||
# | ||
# This is a convenience script that calls a script of the same name in gnd/cosmos with the correct first argument for this assembly | ||
# The second argument should be the relative path from the top directory of the example assembly to the COSMOS directory. | ||
# Ex. `./install_cosmos_plugin.sh cosmos-project` if COSMOS is adjacent to adamant_example | ||
|
||
cosmos_dir=$1 | ||
assembly_yaml='linux_example.assembly.yaml' | ||
cd ../../../../gnd/cosmos | ||
./install_cosmos_plugin.sh ../../src/assembly/linux/$assembly_yaml ../../../$cosmos_dir | ||
cd - >/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
|
||
# | ||
# This is a convenience script that calls a script of the same name in gnd/cosmos with the correct first argument for this assembly | ||
# The second argument should be the relative path from the top directory of the example assembly to the COSMOS directory. | ||
# Ex. `./install_cosmos_plugin.sh cosmos-project` if COSMOS is adjacent to adamant_example | ||
|
||
cosmos_dir=$1 | ||
assembly_yaml='pico_example.assembly.yaml' | ||
cd ../../../../gnd/cosmos | ||
./install_cosmos_plugin.sh ../../src/assembly/pico/$assembly_yaml ../../../$cosmos_dir | ||
cd - >/dev/null |