mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-02-03 23:49:08 +08:00
* Refactor to typescript (config part) * Refactor to typescript (convert extensions, minor fixes) * Refactor to typescript (move from `action` to `dist`) * Re-enable integrity-check for dist index.js * Fix all tests and lints * fix parsing major versions * Test patch level to be digits only * debug * debug * uncache * manual compile * debug * debug * Debug * Build lib - doh * remove diff check * Make kubernetes workflow manual * Properly generate 3 digit for simple major tags * Remove ts-ignore * re-enable cache
24 lines
444 B
TypeScript
24 lines
444 B
TypeScript
import Input from './input';
|
|
import Unity from './unity';
|
|
import Action from './action';
|
|
|
|
class Project {
|
|
static get relativePath() {
|
|
const { projectPath } = Input;
|
|
|
|
return `${projectPath}`;
|
|
}
|
|
|
|
static get absolutePath() {
|
|
const { workspace } = Action;
|
|
|
|
return `${workspace}/${this.relativePath}`;
|
|
}
|
|
|
|
static get libraryFolder() {
|
|
return `${this.relativePath}/${Unity.libraryFolder}`;
|
|
}
|
|
}
|
|
|
|
export default Project;
|