mirror of
https://github.com/morgan9e/helium
synced 2026-04-14 00:14:20 +09:00
buildkit: Remove cmds and add_cms_path.sh
buildkit shouldn't normally be invoked by the end-user, so this convenience is unnecessary. Users who really need to use the CLI can just use "python3 -m buildkit" or something to that effect.
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Set PATH variable to cmds/ directory on UNIX shell-compatible systems
|
||||
# Run this script with "source" in order for the PATH variable to take effect
|
||||
export PATH=$(dirname $(readlink -f $0))/cmds:$PATH
|
||||
@@ -1,21 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: UTF-8 -*-
|
||||
|
||||
# Copyright (c) 2017 The ungoogled-chromium Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
"""
|
||||
Simple buildkit CLI launcher allowing invocation from anywhere.
|
||||
|
||||
Pass in -h or --help for usage information.
|
||||
"""
|
||||
|
||||
import sys
|
||||
import pathlib
|
||||
|
||||
sys.path.insert(0, str(pathlib.Path(__file__).resolve().parent.parent))
|
||||
import buildkit.cli
|
||||
sys.path.pop(0)
|
||||
|
||||
buildkit.cli.main()
|
||||
Reference in New Issue
Block a user