Skip to content

Commit

Permalink
oh don't need that anymore lol
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse committed Apr 3, 2024
1 parent 3f91b52 commit 6b1a55a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion client/src/cordova/test.action.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import rmfr from 'rmfr';
import {getRootDir} from '../../../src/build/get_root_dir.mjs';
import {spawnStream} from '../../../src/build/spawn_stream.mjs';

const APPLE_ROOT = path.join(getRootDir(), 'src', 'cordova', 'apple');
const APPLE_ROOT = path.join(getRootDir(), 'client', 'src', 'cordova', 'apple');
const APPLE_LIBRARY_NAME = 'OutlineAppleLib';

const SUPPORTED_PLATFORMS = new Set(['ios', 'macos', 'maccatalyst']);
Expand Down
2 changes: 1 addition & 1 deletion client/src/tun2socks/build.action.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export async function main(...parameters) {
'build',
'-o',
`output/build/${targetPlatform}/tun2socks${targetPlatform === 'windows' ? '.exe' : ''}`,
'github.com/Jigsaw-Code/outline-client/src/tun2socks/outline/electron'
'github.com/Jigsaw-Code/outline-apps/client/src/tun2socks/outline/electron'
);
}

Expand Down
7 changes: 1 addition & 6 deletions src/build/run_action.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,7 @@ export async function runAction(actionPath, ...parameters) {
}

async function main() {
// TODO(daniellacosse): Hoist the build directory to the root of the project.
if (process.argv[2].startsWith('server_manager')) {
process.env.ROOT_DIR ??= path.resolve(getRootDir(), '..');
} else {
process.env.ROOT_DIR ??= getRootDir();
}
process.env.ROOT_DIR ??= getRootDir();
process.env.OUTPUT_DIR ??= path.join(process.env.ROOT_DIR, 'output');
process.env.BUILD_DIR ??= path.join(process.env.OUTPUT_DIR, 'build');
process.env.COVERAGE_DIR ??= path.join(process.env.OUTPUT_DIR, 'coverage');
Expand Down

0 comments on commit 6b1a55a

Please sign in to comment.