paltry Paltry Portable Environment开源项目

我要开发同款
匿名用户2021年11月09日
47阅读
开发技术SHELL
所属分类终端/远程登录、应用工具
授权协议MIT License

作品详情

PaltryPortableEnvironment

PaltrycreatesandupdatesaportabledevelopmentenvironmentforrecentWindowsinstalls.Youmightwantthisifyouraccountdoesn'thaveadminpermissions,toavoidinterferingwithanysoftwareinstalledonthesystem,ortoapplythebestpracticesofDevOpstoyourdevelopmentenvironment.Setupanewmachineinminutesinsteadofhoursandkeepitup-to-datejustaseasily.Configurableandscriptabletoaccommodateyourneeds.

Thefollowingtoolsareavailable:

7-ZipAnacondaforPythondevelopment(usingtheminimalMinicondaversion)ChromiumEclipseIDEforJavaEEDevelopers(withworkspaceenhancementsincluded)Git(abletosetupSSHkeys,autoclonerepos,andupdatePaltryitself)JavaOpenJDK11LazygitApacheMaven(encryptedserverpasswordssupportincluded)MSYS2(enablesinstallingRubygemswithnativeextensions)Node.jsnpmOpenSSLRubySmartGitVisualStudioCodeWizTreePrerequisitesWindows10(orupgradetoPowerShell5.1)NoapplicationsneedbepreloadedNospecialpermissionsoutsideofbeingabletowritetoauserfolderInstallationCreatealocalfolderforyourportableenvironment(~\Developerrecommended)DownloadthelatestPaltryZIParchiveUnblockthedownloadedZIParchiveSeehereforinstructionsOpenthedownloadedarchiveDragthepaltry-masterfolderinthearchivetotheportableenvironmentfolderyoucreatedaboveandrenameittopaltryOpentheextractedpaltryfolderConfigureyourenvironmentIfyouhaveanexistingconfig.jsonalreadyprepared,overwritetheoneintheextractedPaltryOtherwiseconsidereditingthedefaultconfig.jsontomakeityourownatthispointYoucanalwayscustomizethislaterandrerunthebuildThedefaultconfigcomeswithallthetoolsbutsomefeaturesrequireadditionalconfigurationDoubleclickonbuild.cmdinyourpaltryfolderPaltrywillnowbuildThefirsttimethiswilltakeanywherefrom1-15+minutesdependingonyourselectedpluginsandnetworkspeedBydefault-whenthebuildcompletes-anexplorerwindowwillpopupwithvariousshortcutsFeelfreetolaunchanyofthetoolsfromhereForbonuspointsaddtheseasatoolbarRightclickonyourtaskbarToolbarsNewtoolbar...SelectthesamepathasthewindowlaunchedafterthebuildProtip:youcancopythefullpathfromtheaddressbarofeachConfiguration

Theonlyfileusersshouldmodifyisconfig.json.Itisintendedtoencompassalluser-configurablebehavior.Thefollowingisadefinitionofthesupportedconfigurationoptions.

cwd(string)-Thecurrentworkingdirectorytousewhenlaunchingtheconsole.env({string:string})-Environmentvariablestosetfortheportableenvironment.NotethatPathisspecialsinceitisappendedtobyPaltryandsoshouldbeextendedwiththepathoptionbelow.disabled([string])-Ablacklistofthepluginsnottorun.Notethatnonexistantpluginsareignored.Thedefaultconfigtakesadvantageofthistolistavailableplugins"commentedout"byprefixingthemwith//.Removingthe"comment"inthislistwillactuallydisablethatplugin.Ifyoudon'teverintendtodisableapluginfeelfreetoremoveitfromthislistentirely.versions({string:string})-Mosttoolssupportinstallingthelatestavailableversionexceptfor7zip,whichmusthaveaversionset.Themaven,node,npm,andrubytoolssupportspecifyinganexactversionhere.Anemptystringvalueoromittingakeyentirelydefaultstothelatestversion.path([string])-Anarrayofadditionallocationstoaddtoyourpath.UsefullyforaddingothertoolsnotsupportedbyPaltrythatyoumanuallydownloaded.scripts({string:[string]})-Customscriptsaredefinedwiththenameasthekey(thisbecomesthefilename/commandusedtocallthem)andanarrayofthelinesinthescriptasthevalue.Notethesewillcreatebatchfilesthatarerunwiththecommandprompt.eclipse(object)skipIntro(boolean)-Bypassdisplayingmaximizedwelcomescreenthatblocksimmediateuse.unlimitedConsoleOutput(boolean)-Don'tdiscardconsoleoutputafteralimitednumberofcharacters.gitIconDecorations(boolean)-UseiconstolabelGitmodifiedresourcesinsteadoftext.cleanInstallMavenLaunchConfig(boolean)-AddalaunchconfigurationforMaventoperformacleaninstallbuildonthecurrentproject.git(object)ssh(boolean)-EnablingthiswillmakesureyouhaveSSHkeyssetup,generatingthemifneeded.Whenkeysaregenerated,thepublickeywillbeprintedtotheconsole.PleasemakesuretoaddthispublickeytoanygitremotesyouintendtocommunicatewithusingSSH.repos({string:string})-GitrepositoriesyouwantPaltrytocloneautomaticallyonyourbehalf.ThelocalfoldertouseisthekeywiththeremoteURLasthevalue.maven(object)cleanup(boolean)-Optionallycleanupremoterepodatafromyourm2repo.Thiswillresolvesomeissueswithnotfindingcertainartifactsatthecostofalongernextbuild.servers([string])-IfyouuseprivateMavenrepos(suchasaNexusserver)thenaddtheiridsinanarraytothisproperty.Thebuildwillpromptforyourcredentialsandwillsaveencryptedversionsofthemtosettings.xml.Differentcredentialsperserverarenotsupportedatthistime.vscode(object)extensions([string])-Arrayofextensionstoensureareinstalled.Makesuretousethefullyqualifiedpublisher.extensionname.settings(object)-UsersettingsforVSCode.Notethatthesewilloverrideanyexistingsettingsonaper-propertybasis.ApologiesinadvancefortheuglyformattingontheJSONoutput.License

PaltryisMITlicensed.SeeLICENSE.

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论