aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Microbit/MainMenu.Designer.cs (renamed from Microbit/Form1.Designer.cs)2
-rw-r--r--Microbit/MainMenu.cs (renamed from Microbit/Form1.cs)4
-rw-r--r--Microbit/Microbit.csproj6
-rw-r--r--Microbit/Program.cs2
-rw-r--r--README.md2
-rw-r--r--appveyor.yml38
6 files changed, 47 insertions, 7 deletions
diff --git a/Microbit/Form1.Designer.cs b/Microbit/MainMenu.Designer.cs
index cf875b3..210b8de 100644
--- a/Microbit/Form1.Designer.cs
+++ b/Microbit/MainMenu.Designer.cs
@@ -1,6 +1,6 @@
namespace Microbit
{
- partial class Form1
+ partial class MainMenu
{
/// <summary>
/// Required designer variable.
diff --git a/Microbit/Form1.cs b/Microbit/MainMenu.cs
index 0935cf1..4e585e3 100644
--- a/Microbit/Form1.cs
+++ b/Microbit/MainMenu.cs
@@ -10,9 +10,9 @@ using System.Windows.Forms;
namespace Microbit
{
- public partial class Form1 : Form
+ public partial class MainMenu : Form
{
- public Form1()
+ public MainMenu()
{
InitializeComponent();
}
diff --git a/Microbit/Microbit.csproj b/Microbit/Microbit.csproj
index a2ba09e..e0b35a4 100644
--- a/Microbit/Microbit.csproj
+++ b/Microbit/Microbit.csproj
@@ -45,11 +45,11 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
- <Compile Include="Form1.cs">
+ <Compile Include="MainMenu.cs">
<SubType>Form</SubType>
</Compile>
- <Compile Include="Form1.Designer.cs">
- <DependentUpon>Form1.cs</DependentUpon>
+ <Compile Include="MainMenu.Designer.cs">
+ <DependentUpon>MainMenu.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
diff --git a/Microbit/Program.cs b/Microbit/Program.cs
index e040909..72ac533 100644
--- a/Microbit/Program.cs
+++ b/Microbit/Program.cs
@@ -16,7 +16,7 @@ namespace Microbit
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new Form1());
+ Application.Run(new MainMenu());
}
}
}
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..6e72c8a
--- /dev/null
+++ b/README.md
@@ -0,0 +1,2 @@
+# Microbits
+A experimental Winforms operating system in C# \ No newline at end of file
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..a94c26a
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,38 @@
+image: Visual Studio 2017
+configuration: Debug
+platform: Any CPU
+before_build:
+- nuget restore
+
+build:
+ verbosity: detailed
+ project: Microbit.sln
+
+after_build:
+- cmd: tree /F
+- cmd: 7z a -tzip "Microbit/bin/Debug/Microbit.zip" "Microbit/bin/Debug/*"
+
+artifacts:
+- path: Microbit/bin/Debug/Microbit.zip
+ name: DevBuild
+
+deploy:
+ provider: GitHub
+ release: Continuous build
+ description: 'Microbit Development Builds'
+ auth_token:
+ secure: MeuJU9DaBpnzRdWaqvDfR4M7WhtB90FIpmYkZ5GmS8GyVSWyHT2FAMtDczW3D/JQ
+ artifact: /.*\.zip/
+ draft: false
+ prerelease: true
+ force_update: true
+ tag: continuous
+ on:
+ appveyor_repo_tag: true
+
+on_success:
+ - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
+ - ps: ./send.ps1 success $env:WEBHOOK_URL
+on_failure:
+ - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1
+ - ps: ./send.ps1 failure $env:WEBHOOK_URL \ No newline at end of file