Skip to content

Instantly share code, notes, and snippets.

View Jawnnypoo's full-sized avatar

John Carlson Jawnnypoo

View GitHub Profile
@Jawnnypoo
Jawnnypoo / BuildScript.cs
Last active December 5, 2023 12:54
Typical Buildscript for Unity on Jenkins. Run with command line args "-quit -batchmode -projectPath ${WORKSPACE} -executeMethod BuildScript.PerformAndroidBuild -logfile /dev/stdout"
using UnityEditor;
using System;
using System.Collections.Generic;
class BuildScript {
static string[] SCENES = FindEnabledEditorScenes();
static string APP_NAME = "AngryBots";
static string TARGET_DIR = "target";