def build_and_compress(env, source, target):
    env.Tool('compactor')
    uncompressed = env.Program('uncompressed', source)
    compressed = env.Compact(
        target = target,
        source = uncompressed,
    )
    return compressed

def generate(env):
    env.AddMethod(build_and_compress, 'BuildAndCompress')

def exists(env):
    return True

def build_and_compress(env, target, source):
    env.Tool('compactor')
    uncompressed = env.Program('uncompressed', source)
    compressed = env.Compact(
        target = target,
        source = uncompressed,
    )
    return compressed

def generate(env):
    env.AddMethod(build_and_compress, 'BuildAndCompress')

def exists(env):
    return True

Fix argument order in BuildAndCompress pseudo-builder
Fix argument order in BuildAndCompress pseudo-builder

- def build_and_compress(env, source, target):
+ def build_and_compress(env, target, source):
      env.Tool('compactor')
      uncompressed = env.Program('uncompressed', source)
      compressed = env.Compact(
          target = target,
          source = uncompressed,
      )
      return compressed
  
  def generate(env):
      env.AddMethod(build_and_compress, 'BuildAndCompress')
  
  def exists(env):
      return True
  
Fix argument order in BuildAndCompress pseudo-builder
## Code Before:
def build_and_compress(env, source, target):
    env.Tool('compactor')
    uncompressed = env.Program('uncompressed', source)
    compressed = env.Compact(
        target = target,
        source = uncompressed,
    )
    return compressed

def generate(env):
    env.AddMethod(build_and_compress, 'BuildAndCompress')

def exists(env):
    return True

## Instruction:
Fix argument order in BuildAndCompress pseudo-builder
## Code After:
def build_and_compress(env, target, source):
    env.Tool('compactor')
    uncompressed = env.Program('uncompressed', source)
    compressed = env.Compact(
        target = target,
        source = uncompressed,
    )
    return compressed

def generate(env):
    env.AddMethod(build_and_compress, 'BuildAndCompress')

def exists(env):
    return True
