René's URL Explorer Experiment


Title: Question about ModuleBuild-Extension: .build.ps1: less Join-Path statements · Issue #14 · ModuleBuild/ModuleBuild · GitHub

Open Graph Title: Question about ModuleBuild-Extension: .build.ps1: less Join-Path statements · Issue #14 · ModuleBuild/ModuleBuild

X Title: Question about ModuleBuild-Extension: .build.ps1: less Join-Path statements · Issue #14 · ModuleBuild/ModuleBuild

Description: Good evening Zachary In .build.ps1 you naturally have a lot of Join-Path statements. I tried to understand your code (to extend it) and had to fight a lot :-). Therefore, I created one function which calculates all used Path-...

Open Graph Description: Good evening Zachary In .build.ps1 you naturally have a lot of Join-Path statements. I tried to understand your code (to extend it) and had to fight a lot :-). Therefore, I created one ...

X Description: Good evening Zachary In <Modulename>.build.ps1 you naturally have a lot of Join-Path statements. I tried to understand your code (to extend it) and had to fight a lot :-). Therefore, I create...

Opengraph URL: https://github.com/ModuleBuild/ModuleBuild/issues/14

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Question about ModuleBuild-Extension: \u003cModulename\u003e.build.ps1: less Join-Path statements","articleBody":"Good evening Zachary\r\n\r\nIn `\u003cModulename\u003e.build.ps1` you naturally have a lot of Join-Path statements. I tried to understand your code (to extend it) and had to fight a lot :-). \r\nTherefore, I created one function which calculates all used Path- and File-Names. This Function is called at the beginning of almost every task to that it has all Path- and File-Names. It looks like this:\r\n```\r\n# Calculates all Directories used in a build\r\nFunction Get-Buid-Directories {\r\n  $Dirs = ([ordered] @{\r\n    # Applied Config Variables\r\n    BuildReportsFolder              = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.BuildReportsFolder)\r\n    BuildToolPath                   = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.BuildToolFolder)\r\n    TranscriptLog                   = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.BuildToolFolder, $Script:BuildEnv.OptionTranscriptLogFile)\r\n    CodeHealthScanPathPublic        = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.PublicFunctionSource)\r\n    CodeHealthScanPathPrivate       = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.PrivateFunctionSource)\r\n    ReleasePath                     = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.BaseReleaseFolder)\r\n    CurrentReleasePath              = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.BaseReleaseFolder, $Script:BuildEnv.ModuleToBuild)\r\n    ThisReleasePath                 = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.BaseReleaseFolder, $Script:BuildEnv.ModuleVersion)\r\n    # Other Files and Dirs\r\n    BuildTools                      = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.BuildToolFolder, 'dotSource')\r\n    ModuleManifestFileName          = [IO.Path]::Combine($BuildRoot, \"$($Script:BuildEnv.ModuleToBuild).psd1\")\r\n    ScriptModuleFileName            = [IO.Path]::Combine($BuildRoot, \"$($Script:BuildEnv.ModuleToBuild).psm1\")\r\n    CodeHealthReportPublic          = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.BuildReportsFolder, 'CodeHealthReport-Public.html')\r\n    CodeHealthReportPrivate         = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.BuildReportsFolder, 'CodeHealthReport-Private.html')\r\n    RootDocsPath                    = [IO.Path]::Combine($BuildRoot, 'docs')\r\n    RootDocsFunctionsPath           = [IO.Path]::Combine($BuildRoot, 'docs', 'Functions')\r\n    BuildDocsPath                   = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.BuildToolFolder, 'docs')\r\n    CurrentModuleManifestFile       = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.BaseReleaseFolder, $Script:BuildEnv.ModuleToBuild, \"$($Script:BuildEnv.ModuleToBuild).psd1\")\r\n    # Staging Dirs\r\n    StagePath                       = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.ScratchFolder)\r\n    StagePathEnUs                   = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.ScratchFolder, 'en-US')\r\n    StageReleasePath                = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.ScratchFolder, $Script:BuildEnv.BaseReleaseFolder)\r\n    StagePSD1OutputFile             = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.ScratchFolder, $Script:BuildEnv.BaseReleaseFolder, \"$($Script:BuildEnv.ModuleToBuild).psd1\")\r\n    StageReleaseModul               = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.ScratchFolder, $Script:BuildEnv.BaseReleaseFolder, \"$($Script:BuildEnv.ModuleToBuild).psm1\")\r\n    StagePreloadFilePath            = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.ScratchFolder, \"$($Script:BuildEnv.OtherModuleSource)\", 'PreLoad.ps1')\r\n    StagePrivateFunctionSourceFiles = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.ScratchFolder, \"$($Script:BuildEnv.PrivateFunctionSource)\", '*.ps1')\r\n    StagePublicFunctionSourceFiles  = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.ScratchFolder, \"$($Script:BuildEnv.PublicFunctionSource)\", '*.ps1')\r\n    StagePostLoadFileName           = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.ScratchFolder, \"$($Script:BuildEnv.OtherModuleSource)\", 'PostLoad.ps1')\r\n    StageOtherModuleSourceDir       = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.ScratchFolder, $Script:BuildEnv.OtherModuleSource)\r\n    StagePrivateFunctionSourceDir   = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.ScratchFolder, $Script:BuildEnv.PrivateFunctionSource)\r\n    StagePublicFunctionSourceDir    = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.ScratchFolder, $Script:BuildEnv.PublicFunctionSource)\r\n    StageModuleToBuildDir           = [IO.Path]::Combine($BuildRoot, $Script:BuildEnv.ScratchFolder, $Script:BuildEnv.ModuleToBuild)\r\n  })\r\n  # Return a Object\r\n  $oDirs = New-Object PSObject -Property $Dirs\r\n  $oDirs\r\n}\r\n```\r\n\r\nI guess the Hashtable could be sorted better, but for contributors like myself, this helps a lot to just get an overview of all used path- and filenames and to undestand what's happening.\r\n\r\n","author":{"url":"https://github.com/schittli","@type":"Person","name":"schittli"},"datePublished":"2018-04-09T19:29:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/14/ModuleBuild/issues/14"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f1ee8fde-7029-08d8-375f-a1e6550d7185
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA962:16945C:4FEC62:6BB83D:698E1F1F
html-safe-nonce8b8b53f8d23fec4884a338eebd4f2ea2905dd35067b0d8d3acd319d31994cabf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTYyOjE2OTQ1Qzo0RkVDNjI6NkJCODNEOjY5OEUxRjFGIiwidmlzaXRvcl9pZCI6IjQ3MDg2NDE5Nzc3Mzc4MTM3OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac20b3d8cf9ec35ebe75f1ee804e1fab9d01b1c90f9774e83721a42ab482b2a12b
hovercard-subject-tagissue:312656542
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ModuleBuild/ModuleBuild/14/issue_layout
twitter:imagehttps://opengraph.githubassets.com/61fa1a74efba5ae5f6da870f8659135a4fd033b63ac17fd115e42aa0d8d2e7e0/ModuleBuild/ModuleBuild/issues/14
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/61fa1a74efba5ae5f6da870f8659135a4fd033b63ac17fd115e42aa0d8d2e7e0/ModuleBuild/ModuleBuild/issues/14
og:image:altGood evening Zachary In .build.ps1 you naturally have a lot of Join-Path statements. I tried to understand your code (to extend it) and had to fight a lot :-). Therefore, I created one ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameschittli
hostnamegithub.com
expected-hostnamegithub.com
None7d71262819a4a68a7786924c05495bfd40a7561e4258dd129ba36f53d667639a
turbo-cache-controlno-preview
go-importgithub.com/ModuleBuild/ModuleBuild git https://github.com/ModuleBuild/ModuleBuild.git
octolytics-dimension-user_id64282347
octolytics-dimension-user_loginModuleBuild
octolytics-dimension-repository_id93702203
octolytics-dimension-repository_nwoModuleBuild/ModuleBuild
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id93702203
octolytics-dimension-repository_network_root_nwoModuleBuild/ModuleBuild
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1d904ac995eb43f93014fbdbcc9ae5878653c932
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ModuleBuild/ModuleBuild/issues/14#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FModuleBuild%2FModuleBuild%2Fissues%2F14
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FModuleBuild%2FModuleBuild%2Fissues%2F14
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=ModuleBuild%2FModuleBuild
Reloadhttps://github.com/ModuleBuild/ModuleBuild/issues/14
Reloadhttps://github.com/ModuleBuild/ModuleBuild/issues/14
Reloadhttps://github.com/ModuleBuild/ModuleBuild/issues/14
ModuleBuild https://github.com/ModuleBuild
ModuleBuildhttps://github.com/ModuleBuild/ModuleBuild
Notifications https://github.com/login?return_to=%2FModuleBuild%2FModuleBuild
Fork 14 https://github.com/login?return_to=%2FModuleBuild%2FModuleBuild
Star 60 https://github.com/login?return_to=%2FModuleBuild%2FModuleBuild
Code https://github.com/ModuleBuild/ModuleBuild
Issues 4 https://github.com/ModuleBuild/ModuleBuild/issues
Pull requests 1 https://github.com/ModuleBuild/ModuleBuild/pulls
Actions https://github.com/ModuleBuild/ModuleBuild/actions
Projects 0 https://github.com/ModuleBuild/ModuleBuild/projects
Security 0 https://github.com/ModuleBuild/ModuleBuild/security
Insights https://github.com/ModuleBuild/ModuleBuild/pulse
Code https://github.com/ModuleBuild/ModuleBuild
Issues https://github.com/ModuleBuild/ModuleBuild/issues
Pull requests https://github.com/ModuleBuild/ModuleBuild/pulls
Actions https://github.com/ModuleBuild/ModuleBuild/actions
Projects https://github.com/ModuleBuild/ModuleBuild/projects
Security https://github.com/ModuleBuild/ModuleBuild/security
Insights https://github.com/ModuleBuild/ModuleBuild/pulse
New issuehttps://github.com/login?return_to=https://github.com/ModuleBuild/ModuleBuild/issues/14
New issuehttps://github.com/login?return_to=https://github.com/ModuleBuild/ModuleBuild/issues/14
Question about ModuleBuild-Extension: .build.ps1: less Join-Path statementshttps://github.com/ModuleBuild/ModuleBuild/issues/14#top
https://github.com/schittli
https://github.com/schittli
schittlihttps://github.com/schittli
on Apr 9, 2018https://github.com/ModuleBuild/ModuleBuild/issues/14#issue-312656542
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.