-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
167 additions
and
0 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
74 changes: 74 additions & 0 deletions
74
website/blog/_templates/blog-post-release-part-2-liquid.mdx
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 |
---|---|---|
@@ -1,4 +1,78 @@ | ||
|
||
## Folders hierarchy | ||
|
||
After install, the package creates a hierarchy of folders like the following | ||
(only the first two depth levels are shown): | ||
|
||
{%- assign platforms_array = platforms | split: "," %} | ||
|
||
{%- assign names_array = "" | split: "" %} | ||
|
||
{%- for platform in platforms_array %} | ||
{%- case platform %} | ||
{%- when "win32-x64" %} | ||
{%- assign names_array = names_array | concat: "Windows" %} | ||
{%- when "darwin-x64", "darwin-arm64" %} | ||
{%- assign names_array = names_array | concat: "macOS" %} | ||
{%- when "linux-x64", "linux-arm64", "linux-arm" %} | ||
{%- assign names_array = names_array | concat: "GNU/Linux" %} | ||
{%- endcase %} | ||
{%- endfor %} | ||
|
||
{%- assign names_array = names_array | uniq %} | ||
|
||
<Tabs groupId="operating-systems"> | ||
|
||
{%- for name in names_array %} | ||
{%- case name %} | ||
{%- when "Windows" %} | ||
|
||
<TabItem value="windows" label="Windows" default> | ||
|
||
<CodeBlock language="console"> { | ||
`C:\> tree /f %USERPROFILE%\\AppData\\Roaming\\xPacks\\@{{packageScope}}\\{{packageName}}\\${frontMatter.version}.${frontMatter.npm_subversion}\\.content | ||
Folder PATH listing | ||
Volume serial number is B02D-925C | ||
├── README.md | ||
├── bin | ||
TODO | ||
`} </CodeBlock> | ||
|
||
</TabItem> | ||
|
||
{%- when "macOS" %} | ||
|
||
<TabItem value="macos" label="macOS"> | ||
|
||
<CodeBlock language="console"> { | ||
`$ tree -L 2 ~/Library/xPacks/\{{packageScopedName}}/${frontMatter.version}.${frontMatter.npm_subversion}/.content/ | ||
/Users/ilg/Library/xPacks/\{{packageScopedName}}/${frontMatter.version}.${frontMatter.npm_subversion}/.content/ | ||
├── README.md | ||
├── bin | ||
TODO | ||
`} </CodeBlock> | ||
|
||
</TabItem> | ||
|
||
{%- when "GNU/Linux" %} | ||
|
||
<TabItem value="linux" label="GNU/Linux"> | ||
|
||
<CodeBlock language="console"> { | ||
`$ tree -L 2 ~/.local/xPacks/\{{packageScopedName}}/${frontMatter.version}.${frontMatter.npm_subversion}/.content/ | ||
/home/ilg/.local/xPacks/\{{packageScopedName}}/${frontMatter.version}.${frontMatter.npm_subversion}/.content/ | ||
├── README.md | ||
├── bin | ||
TODO | ||
`} </CodeBlock> | ||
|
||
</TabItem> | ||
|
||
{%- endcase %} | ||
{%- endfor %} | ||
|
||
</Tabs> | ||
|
||
<DeprecationNotices/> | ||
|
||
<DownloadAnalytics version={frontMatter.version}/> |