Skip to content

Commit

Permalink
additional cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse committed Dec 8, 2023
1 parent 5d3aeee commit eacaad5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*.env
*.pdb
*.sw?
/build
/node_modules
/output
/platforms
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@
"web-animations-js": "^2.3.2"
},
"engines": {
"node": "18.x.x",
"npm": "10.x.x"
"node": "18.x.x"
},
"devDependencies": {
"@babel/core": "^7.12.10",
Expand Down
4 changes: 1 addition & 3 deletions src/tun2socks/build.action.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import fs from 'node:fs/promises';

import {spawnStream} from '../build/spawn_stream.mjs';
import {getBuildParameters} from '../build/get_build_parameters.mjs';
import {getRootDir} from '../build/get_root_dir.mjs';

/**
* @description Builds the tun2socks library for the specified platform.
Expand All @@ -29,9 +28,8 @@ import {getRootDir} from '../build/get_root_dir.mjs';
export async function main(...parameters) {
const {platform: targetPlatform} = getBuildParameters(parameters);

const binDir = path.join(getRootDir(), process.env.OUTPUT_DIR, 'bin');
const binDir = path.join(process.env.OUTPUT_DIR, 'bin');
const buildDir = path.join(
getRootDir(),
process.env.BUILD_DIR,
['ios', 'macos', 'maccatalyst'].includes(targetPlatform) ? 'apple' : targetPlatform
);
Expand Down

0 comments on commit eacaad5

Please sign in to comment.