Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
PACKAGE_DIR := Packages/rudder.sdk
|
||||
CORE_REPO := ../liveops-csharp-sdk
|
||||
CORE_DLL := $(CORE_REPO)/bin/Release/netstandard2.1/Rudder.Core.dll
|
||||
REGISTRY := https://hub.rudder.build/api/packages/rudder/npm/
|
||||
|
||||
.PHONY: sync-core pack publish
|
||||
|
||||
sync-core:
|
||||
dotnet build $(CORE_REPO)/Rudder.Core.csproj -c Release
|
||||
cp $(CORE_DLL) $(PACKAGE_DIR)/Runtime/Plugins/Rudder.Core.dll
|
||||
|
||||
pack:
|
||||
cd $(PACKAGE_DIR) && npm pack
|
||||
|
||||
publish:
|
||||
cd $(PACKAGE_DIR) && npm publish --registry $(REGISTRY)
|
||||
Reference in New Issue
Block a user