Prepared tailwind system for plugin builds and exports via nuget. Removed obsolete old css bundling. Added helper scripts for building. Rewritten build scripts
This commit is contained in:
26
Resources/Scripts/Program.cs
Normal file
26
Resources/Scripts/Program.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using Scripts.Functions;
|
||||
|
||||
if (args.Length == 0)
|
||||
{
|
||||
Console.WriteLine("You need to specify a module to run");
|
||||
return;
|
||||
}
|
||||
|
||||
var module = args[0];
|
||||
var moduleArgs = args.Skip(1).ToArray();
|
||||
|
||||
switch (module)
|
||||
{
|
||||
case "staticWebAssets":
|
||||
await StaticWebAssetsFunctions.Run(moduleArgs);
|
||||
break;
|
||||
case "content":
|
||||
await ContentFunctions.Run(moduleArgs);
|
||||
break;
|
||||
case "src":
|
||||
await SrcFunctions.Run(moduleArgs);
|
||||
break;
|
||||
default:
|
||||
Console.WriteLine($"No module named {module} found");
|
||||
break;
|
||||
}
|
||||
Reference in New Issue
Block a user