packages feed

glean-0.2.0.0: glean/lang/java-lsif/tests/Glean/Regression/JavaLsif/Main.hs

{-
  Copyright (c) Meta Platforms, Inc. and affiliates.
  All rights reserved.

  This source code is licensed under the BSD-style license found in the
  LICENSE file in the root directory of this source tree.
-}

module Glean.Regression.JavaLsif.Main ( main ) where

import System.Environment

import Glean.Indexer.JavaLsif as JavaLsif
import Glean.Regression.Snapshot
import Glean.Regression.Snapshot.Driver

main :: IO ()
main = getArgs >>= \args -> withArgs (args ++ ["--root", path]) $
    testMain (driverFromIndexer JavaLsif.indexer)
  where
    path = "glean/lang/java-lsif/tests/cases"