Skip to content

Commit

Permalink
make the bindir
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse committed Nov 14, 2023
1 parent 2611e58 commit c01cb21
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tun2socks/build.action.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// limitations under the License.

import url from 'url';
import fs from 'node:fs/promises';

import {spawnStream} from '../build/spawn_stream.mjs';
import {getBuildParameters} from '../build/get_build_parameters.mjs';
Expand All @@ -29,6 +30,8 @@ export async function main(...parameters) {
const binDir = `${getRootDir()}/build/bin`;
const outputDir = `${getRootDir()}/build/${platform}`;

await fs.mkdir(binDir, {recursive: true});

// install go tools locally
await spawnStream(
'go',
Expand Down

0 comments on commit c01cb21

Please sign in to comment.