Skip to content

Commit

Permalink
Package for Optimizely 12
Browse files Browse the repository at this point in the history
  • Loading branch information
ellinge committed Aug 22, 2024
1 parent ea597bb commit 6b76afb
Show file tree
Hide file tree
Showing 40 changed files with 366 additions and 1,204 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,7 @@ Generated_Code #added for RIA/Silverlight projects
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML

# Output/dependencies ignores
/src/modules/**
/package/**
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
# Visual Studio Version 17
VisualStudioVersion = 17.11.35219.272
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Geta.Epi.IndexContentInFind", "src\Geta.Epi.IndexContentInFind.csproj", "{4CD0B3AA-DE51-43FD-880E-4AB0416EB64C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{8F66189F-39EA-49FD-8B8D-33B62B0B7206}"
ProjectSection(SolutionItems) = preProject
build\BuildEpiModule.proj = build\BuildEpiModule.proj
build\MSBuild.Community.Tasks.dll = build\MSBuild.Community.Tasks.dll
build\MSBuild.Community.Tasks.targets = build\MSBuild.Community.Tasks.targets
EndProjectSection
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Geta.Optimizely.IndexContentInFind", "src\Geta.Optimizely.IndexContentInFind.csproj", "{4CD0B3AA-DE51-43FD-880E-4AB0416EB64C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -26,4 +18,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {80626AEC-525C-4CFD-AA60-57322E4E991D}
EndGlobalSection
EndGlobal
8 changes: 8 additions & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="Optimizely" value="https://nuget.optimizely.com/feed/packages.svc/" />
</packageSources>
</configuration>
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# Geta.Epi.IndexContentInFind
# Geta.Optimizely.IndexContentInFind

* Master<br>
![](http://tc.geta.no/app/rest/builds/buildType:(id:GetaPackages_EPiIndexContentInFind_00ci),branch:master/statusIcon)

Tool to index content items in Episerver Find. Makes it possible to index a single item or an item including it's descendents.

![ScreenShot](/docs/screenshot-01.png)

## Configuration

For the IndexContentInFind to work, you have to call `AddIndexContentInFind` extension method in `Startup.ConfigureServices` method.
```cs
services.AddIndexContentInFind();
```
94 changes: 0 additions & 94 deletions build/BuildEpiModule.proj

This file was deleted.

Binary file removed build/MSBuild.Community.Tasks.dll
Binary file not shown.
155 changes: 0 additions & 155 deletions build/MSBuild.Community.Tasks.targets

This file was deleted.

5 changes: 5 additions & 0 deletions pack.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$outputDir = ".\package\"
$version = "1.0.0"

dotnet build --configuration Release /p:Version=$version
dotnet pack --configuration Release --output $outputDir /p:Version=$version --no-build
7 changes: 7 additions & 0 deletions src/Constants.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace Geta.Optimizely.IndexContentInFind
{
public static class Constants
{
public const string ModuleName = "Geta.Optimizely.IndexContentInFind";
}
}
Loading

0 comments on commit 6b76afb

Please sign in to comment.